mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +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)
|
ifeq ($(PLATFORM),openbsd)
|
||||||
|
|
||||||
#default to i386, no tests done on anything else
|
ARCH=$(shell uname -m)
|
||||||
ARCH=i386
|
|
||||||
|
|
||||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||||
-DUSE_ICON
|
-DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
|
||||||
CLIENT_CFLAGS = $(SDL_CFLAGS)
|
CLIENT_CFLAGS = $(SDL_CFLAGS)
|
||||||
SERVER_CFLAGS =
|
SERVER_CFLAGS =
|
||||||
|
|
||||||
|
|
|
@ -63,11 +63,11 @@ static qboolean winsockInitialized = qfalse;
|
||||||
# define _BSD_SOCKLEN_T_
|
# define _BSD_SOCKLEN_T_
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# include <arpa/inet.h>
|
# include <sys/socket.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <netdb.h>
|
# include <netdb.h>
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
# include <sys/socket.h>
|
# include <arpa/inet.h>
|
||||||
# include <net/if.h>
|
# include <net/if.h>
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
|
|
Loading…
Reference in a new issue