mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 01:26:50 -04:00
Fix not compiling on Solaris with 'SI_HW_SERIAL' undefined error
This commit is contained in:
parent
dd6d264fcf
commit
ab99aa3ed4
@ -36,6 +36,7 @@ endif
|
|||||||
|
|
||||||
ifeq ($(PLAT),sunos)
|
ifeq ($(PLAT),sunos)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
|
CFLAGS=-g -pipe -fno-math-errno
|
||||||
LIBS=-lm -lsocket -lX11 -lXi -lGL
|
LIBS=-lm -lsocket -lX11 -lXi -lGL
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ const cc_result ReturnCode_DirectoryExists = EEXIST;
|
|||||||
#endif
|
#endif
|
||||||
#elif defined CC_BUILD_SOLARIS
|
#elif defined CC_BUILD_SOLARIS
|
||||||
#include <sys/filio.h>
|
#include <sys/filio.h>
|
||||||
|
#include <sys/systeminfo.h>
|
||||||
#elif defined CC_BUILD_BSD
|
#elif defined CC_BUILD_BSD
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#elif defined CC_BUILD_HAIKU
|
#elif defined CC_BUILD_HAIKU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user