freebsd-ports/games/worldofpadman/files/patch-code__qcommon__net_ip.c
Alejandro Pulver 01ded3f68e - Update to version 1.2.20080621 (1.2 data with 20080621 code from SVN).
- Add maint-gen-distfile target (for personal use).
- Download source from an SVN snapshot hosted on MASTER_SITE_LOCAL.
- Avoid creating a botlib.log file in the current directory.
- Remove SDL_AUDIO and SDL_VIDEO options (they are mandatory now).
2008-06-21 23:53:15 +00:00

19 lines
501 B
C

--- code/qcommon/net_ip.c.orig 2008-06-21 15:22:13.000000000 -0300
+++ code/qcommon/net_ip.c 2008-06-21 15:22:26.000000000 -0300
@@ -55,14 +55,14 @@
# define _BSD_SOCKLEN_T_
#endif
+#include <sys/types.h>
+#include <sys/socket.h>
#include <arpa/inet.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <net/if.h>
#include <sys/ioctl.h>
-#include <sys/socket.h>
-#include <sys/types.h>
#include <sys/time.h>
#include <unistd.h>
#if !defined(__sun) && !defined(__sgi)