]> arthur.barton.de Git - netatalk.git/blobdiff - libevent/test/regress_listener.c
Merge remote-tracking branch 'origin/develop' into spotlight
[netatalk.git] / libevent / test / regress_listener.c
index 1438f3aa9f721258cc30cdfeef188cf989b73ad9..f6c22cb0f6cb601486a7a923894c159f634f3033 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2010 Niels Provos and Nick Mathewson
+ * Copyright (c) 2009-2012 Niels Provos and Nick Mathewson
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -34,6 +34,9 @@
 #ifndef WIN32
 #include <sys/socket.h>
 #include <netinet/in.h>
+# ifdef _XOPEN_SOURCE_EXTENDED
+#  include <arpa/inet.h>
+# endif
 #include <unistd.h>
 #endif