OpenBSD compile fixes, patch provided by Jonathan Gray (#4994)

This commit is contained in:
Thilo Schulz committed 2011-06-06 14:59:54 +00:00
1 parent e676b41c8f
commit bd2b704c91
2 files changed
+4 -5

No files matched your search

+2 -3
View File
@@ -648,11 +648,10 @@ else # ifeq freebsd
ifeq ($(PLATFORM),openbsd)
#default to i386, no tests done on anything else
ARCH=i386
ARCH=$(shell uname -m)
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
CLIENT_CFLAGS = $(SDL_CFLAGS)
SERVER_CFLAGS =
+2 -2
View File
@@ -63,11 +63,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>