aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-05-02 21:31:12 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-05-02 21:31:31 +0200
commitab4bd3bdbb96e64451a38085dd42984ba444033e (patch)
tree351c6a779687d88cc99173e3d27686de4e8cbb38 /src
parent1ab62973d37188e1193be4d3bea4aff2dac4a172 (diff)
parent2364b118f2189d1d8d447c199695fefa71952bf8 (diff)
Merge pull request #4119
2364b11 reorder includes to compile on OpenBSD (Fabian Raetz)
Diffstat (limited to 'src')
-rw-r--r--src/compat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compat.h b/src/compat.h
index 3924445b1a..8fbafb6cce 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -28,16 +28,16 @@
#include <windows.h>
#include <ws2tcpip.h>
#else
+#include <sys/fcntl.h>
+#include <sys/mman.h>
+#include <sys/socket.h>
#include <sys/types.h>
+#include <net/if.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <limits.h>
-#include <net/if.h>
#include <netdb.h>
-#include <netinet/in.h>
-#include <sys/fcntl.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
#include <unistd.h>
#endif