diff options
Diffstat (limited to 'pfinet/glue-include/linux/types.h')
-rw-r--r-- | pfinet/glue-include/linux/types.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pfinet/glue-include/linux/types.h b/pfinet/glue-include/linux/types.h new file mode 100644 index 00000000..604b8b14 --- /dev/null +++ b/pfinet/glue-include/linux/types.h @@ -0,0 +1,31 @@ +#ifndef _HACK_TYPES_H +#define _HACK_TYPES_H + +#include <sys/types.h> +#include <sys/uio.h> +#include <stdint.h> +#include <assert.h> +#include <string.h> + +#define __u8 uint8_t +#define __u16 uint16_t +#define __u32 uint32_t +#define __u64 uint64_t +#define __s8 int8_t +#define __s16 int16_t +#define __s32 int32_t +#define __s64 int64_t +#define u8 uint8_t +#define u16 uint16_t +#define u32 uint32_t +#define u64 uint64_t +#define s8 int8_t +#define s16 int16_t +#define s32 int32_t +#define s64 int64_t + +#include <asm/system.h> +#include <asm/byteorder.h> +#include <linux/errno.h> + +#endif |