Stefan Reinauer | 6ceed09 | 2013-04-08 16:55:47 -0700 | [diff] [blame^] | 1 | |
2 | #include <arch/types.h> | ||||
3 | |||||
4 | #ifndef __SIZE_TYPE__ | ||||
5 | #define __SIZE_TYPE__ unsigned long | ||||
6 | #endif | ||||
7 | typedef __SIZE_TYPE__ size_t; | ||||
8 | typedef long ssize_t; | ||||
9 | |||||
10 | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) | ||||
11 |