]> git.proxmox.com Git - mirror_spl.git/blame - include/sys/types.h
Remove spl.h, just include the headers you need.
[mirror_spl.git] / include / sys / types.h
CommitLineData
09b414e8 1#ifndef _SPL_TYPES_H
2#define _SPL_TYPES_H
f1ca4da6 3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
dbb484ec 8#include <linux/types.h>
14c5326c 9#include <sys/sysmacros.h>
dbb484ec 10
3d4ea0ce 11typedef enum { B_FALSE=0, B_TRUE=1 } boolean_t;
f1ca4da6 12typedef unsigned long uintptr_t;
13typedef unsigned long intptr_t;
14typedef unsigned long ulong_t;
15typedef unsigned int uint_t;
16typedef unsigned char uchar_t;
17typedef unsigned long long u_longlong_t;
18typedef unsigned long long u_offset_t;
19typedef unsigned long long rlim64_t;
20typedef long long longlong_t;
21typedef long long offset_t;
3d4ea0ce 22typedef struct task_struct kthread_t;
f1ca4da6 23typedef struct vmem { } vmem_t;
24typedef short pri_t;
dbb484ec 25typedef struct timespec timestruc_t; /* definition per SVr4 */
26typedef longlong_t hrtime_t;
f1ca4da6 27
28#ifdef __cplusplus
29}
30#endif
31
09b414e8 32#endif /* _SPL_TYPES_H */