aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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