]> arthur.barton.de Git - netatalk.git/blobdiff - libevent/test/test-ratelim.c
Update libevent to 2.0.12
[netatalk.git] / libevent / test / test-ratelim.c
index 824434e08959616a1de40b2a591799acfcbb910f..bbbd760809015c97f59fbc08ab30c48e052246c4 100644 (file)
@@ -36,6 +36,9 @@
 #else
 #include <sys/socket.h>
 #include <netinet/in.h>
+# ifdef _XOPEN_SOURCE_EXTENDED
+#  include <arpa/inet.h>
+# endif
 #endif
 #include <signal.h>
 
@@ -46,6 +49,8 @@
 #include "event2/listener.h"
 #include "event2/thread.h"
 
+#include "../util-internal.h"
+
 static int cfg_verbose = 0;
 static int cfg_help = 0;