summaryrefslogtreecommitdiffhomepage
path: root/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes.h')
-rw-r--r--includes.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/includes.h b/includes.h
index 203ccfd..62a8d73 100644
--- a/includes.h
+++ b/includes.h
@@ -134,15 +134,30 @@
#include "compat.h"
-#include "fake-rfc2553.h"
-#ifndef HAVE_UINT16_T
+#ifndef HAVE_U_INT8_T
+typedef unsigned char u_int8_t;
+#endif /* HAVE_U_INT8_T */
+#ifndef HAVE_UINT8_T
+typedef u_int8_t uint8_t;
+#endif /* HAVE_UINT8_T */
+
#ifndef HAVE_U_INT16_T
typedef unsigned short u_int16_t;
#endif /* HAVE_U_INT16_T */
+#ifndef HAVE_UINT16_T
typedef u_int16_t uint16_t;
#endif /* HAVE_UINT16_T */
+#ifndef HAVE_U_INT32_T
+typedef unsigned int u_int32_t;
+#endif /* HAVE_U_INT32_T */
+#ifndef HAVE_UINT32_T
+typedef u_int32_t uint32_t;
+#endif /* HAVE_UINT32_T */
+
+#include "fake-rfc2553.h"
+
#ifndef LOG_AUTHPRIV
#define LOG_AUTHPRIV LOG_AUTH
#endif