aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-29 10:34:31 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-29 10:34:38 +0100
commite7e8a7537a8106bace2886fd7e6480f561986998 (patch)
tree33d0c1160484e87626ac67d0eedfd68ced27fa97 /src/compat.h
parent5c56ee1ace7d36cc40ad0b70d1c5aa8afe71f613 (diff)
parent9ac5a01c73e7ac7c5204f6cb3b8615c0b01445f0 (diff)
Merge pull request #3309
9ac5a01 Move types.h include before ifaddres.h for u_int declaration (Robert Backhaus)
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index f5e549d79c..3924445b1a 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -28,6 +28,7 @@
#include <windows.h>
#include <ws2tcpip.h>
#else
+#include <sys/types.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <limits.h>
@@ -37,7 +38,6 @@
#include <sys/fcntl.h>
#include <sys/mman.h>
#include <sys/socket.h>
-#include <sys/types.h>
#include <unistd.h>
#endif