summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stddef.h
blob: 91ae78237a6f942722b3ff930f84ed008ea00669 (plain)
1
2
3
4
5
6
7
8
9
10
11

#include <arch/types.h>

#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ unsigned long
#endif
typedef __SIZE_TYPE__ size_t;
typedef long ssize_t;

#define offsetof(TYPE, MEMBER)	((size_t) &((TYPE *) 0)->MEMBER)