mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
OpenBSD compile fixes, patch provided by Jonathan Gray (#4994)
This commit is contained in:
parent
e676b41c8f
commit
bd2b704c91
2 changed files with 4 additions and 5 deletions
5
Makefile
5
Makefile
|
@ -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 =
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue