summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/net_ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c
index 682f4689..d7dc8b5f 100644
--- a/src/qcommon/net_ip.c
+++ b/src/qcommon/net_ip.c
@@ -64,11 +64,11 @@ static qboolean winsockInitialized = qfalse;
# define _BSD_SOCKLEN_T_
# endif
-# include <arpa/inet.h>
+# include <sys/socket.h>
# include <errno.h>
# include <netdb.h>
# include <netinet/in.h>
-# include <sys/socket.h>
+# include <arpa/inet.h>
# include <net/if.h>
# include <sys/ioctl.h>
# include <sys/types.h>