You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
583 B

Index: event.h
--- event.h.orig 2006-10-04 05:34:38 +0200
+++ event.h 2006-10-16 10:35:45 +0200
@@ -76,6 +76,22 @@
}
#endif /* !RB_ENTRY */
+/* provide fallbacks for unportable use of u_int*_t declarations */
+#if !defined(__FreeBSD__) && !defined(__linux__)
+#ifndef u_int64_t
+#define u_int64_t unsigned long long
+#endif
+#ifndef u_int32_t
+#define u_int32_t unsigned int
+#endif
+#ifndef u_int16_t
+#define u_int16_t unsigned short
+#endif
+#ifndef u_int6_t
+#define u_int8_t unsigned char
+#endif
+#endif
+
struct event_base;
struct event {
TAILQ_ENTRY (event) ev_next;