16 lines
243 B
C
16 lines
243 B
C
|
#ifndef _LINUX_STDDEF_H
|
||
|
#define _LINUX_STDDEF_H
|
||
|
|
||
|
#ifndef _SIZE_T
|
||
|
#define _SIZE_T
|
||
|
typedef unsigned int size_t;
|
||
|
#endif
|
||
|
|
||
|
#undef NULL
|
||
|
#define NULL ((void *)0)
|
||
|
|
||
|
#undef offsetof
|
||
|
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||
|
|
||
|
#endif
|