summaryrefslogtreecommitdiff
path: root/include/sys/types.h
blob: 6c18e163b7b6991c42c69b829d5f300f7f72c18c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H

#include <stdint.h>

#ifndef NULL
#define NULL ((void*) 0)
#endif

#ifndef _SIZE_T
#define _SIZE_T
typedef uint32_t size_t;
#endif

#ifndef _TIME_T
#define _TIME_T
typedef int32_t time_t;
#endif

typedef long off_t;

#endif