aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Backhaus <robbak@robbak.com>2013-11-22 23:22:53 +1000
committerRobert Backhaus <robbak@robbak.com>2013-11-22 23:22:53 +1000
commit9ac5a01c73e7ac7c5204f6cb3b8615c0b01445f0 (patch)
tree004ef6f5db547fdeaebb14f31b9e80f0c7b9ac41 /src
parentbe5d37c59757ac3b6deae1e3b238dcb2168207cb (diff)
Move types.h include before ifaddres.h for u_int declaration
Diffstat (limited to 'src')
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 1deef493c2..7e001d81e1 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -26,6 +26,7 @@
#include <windows.h>
#include <ws2tcpip.h>
#else
+#include <sys/types.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <limits.h>
@@ -35,7 +36,6 @@
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/socket.h>
-#include <sys/types.h>
#include <unistd.h>
#endif