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
26 lines
583 B
Index: event.h |
|
--- event.h.orig 2007-02-16 01:49:08 +0100 |
|
+++ event.h 2007-02-16 08:26:41 +0100 |
|
@@ -77,6 +77,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;
|
|
|