|
@@ -1,7 +1,7 @@
|
|
#ifndef _TYPES_COMPAT_H_
|
|
#ifndef _TYPES_COMPAT_H_
|
|
#define _TYPES_COMPAT_H_
|
|
#define _TYPES_COMPAT_H_
|
|
|
|
|
|
-#include <sys/types.h>
|
|
|
|
|
|
+#include <stdint.h>
|
|
#include <limits.h>
|
|
#include <limits.h>
|
|
#include <stdint.h>
|
|
#include <stdint.h>
|
|
|
|
|
|
@@ -13,11 +13,12 @@
|
|
#ifdef _WIN32
|
|
#ifdef _WIN32
|
|
/* Not sure what to do about __pure2 on windows */
|
|
/* Not sure what to do about __pure2 on windows */
|
|
#define __pure2
|
|
#define __pure2
|
|
|
|
+#endif
|
|
|
|
+
|
|
typedef uint8_t u_int8_t;
|
|
typedef uint8_t u_int8_t;
|
|
typedef uint16_t u_int16_t;
|
|
typedef uint16_t u_int16_t;
|
|
typedef uint32_t u_int32_t;
|
|
typedef uint32_t u_int32_t;
|
|
typedef uint64_t u_int64_t;
|
|
typedef uint64_t u_int64_t;
|
|
-#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|