blob: e4fc019c87ac6e38c3d01de9bbe9060caafa1d00 [file] [log] [blame]
Eric Biederman8ca8d762003-04-22 19:02:15 +00001#ifndef I386_STDDEF_H
2#define I386_STDDEF_H
3
4typedef long ptrdiff_t;
5typedef unsigned long size_t;
6typedef long ssize_t;
7
8typedef int wchar_t;
9typedef unsigned int wint_t;
10
Eric Biedermanb78c1972004-10-14 20:54:17 +000011#define NULL ((void *)0)
Eric Biederman8ca8d762003-04-22 19:02:15 +000012
13#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
14
15#endif /* I386_STDDEF_H */