mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 00:56:40 -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)
|
||||
CC=gcc
|
||||
CFLAGS=-g -pipe -fno-math-errno
|
||||
LIBS=-lm -lsocket -lX11 -lXi -lGL
|
||||
endif
|
||||
|
||||
|
@ -49,6 +49,7 @@ const cc_result ReturnCode_DirectoryExists = EEXIST;
|
||||
#endif
|
||||
#elif defined CC_BUILD_SOLARIS
|
||||
#include <sys/filio.h>
|
||||
#include <sys/systeminfo.h>
|
||||
#elif defined CC_BUILD_BSD
|
||||
#include <sys/sysctl.h>
|
||||
#elif defined CC_BUILD_HAIKU
|
||||
|
Loading…
x
Reference in New Issue
Block a user