Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/stddef.h
| Show All 25 Lines | |||||
| * SUCH DAMAGE. | * SUCH DAMAGE. | ||||
| */ | */ | ||||
| #ifndef _SYS_STDDEF_H_ | #ifndef _SYS_STDDEF_H_ | ||||
| #define _SYS_STDDEF_H_ | #define _SYS_STDDEF_H_ | ||||
| #include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
| #include <sys/_null.h> | #include <sys/_null.h> | ||||
| #include <sys/_offsetof.h> | |||||
| #include <sys/_types.h> | #include <sys/_types.h> | ||||
| #include <sys/_visible.h> | #include <sys/_visible.h> | ||||
| #if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
| #ifndef _PTRADDR_T_DECLARED | #ifndef _PTRADDR_T_DECLARED | ||||
| typedef __ptraddr_t ptraddr_t; | typedef __ptraddr_t ptraddr_t; | ||||
| #define _PTRADDR_T_DECLARED | #define _PTRADDR_T_DECLARED | ||||
| #endif | #endif | ||||
| #endif | #endif | ||||
| #ifndef _PTRDIFF_T_DECLARED | #ifndef _PTRDIFF_T_DECLARED | ||||
| typedef __ptrdiff_t ptrdiff_t; | typedef __ptrdiff_t ptrdiff_t; | ||||
| #define _PTRDIFF_T_DECLARED | #define _PTRDIFF_T_DECLARED | ||||
| #endif | #endif | ||||
| #define offsetof(type, field) __offsetof(type, field) | |||||
| #endif /* !_SYS_STDDEF_H_ */ | #endif /* !_SYS_STDDEF_H_ */ | ||||