26 lines
770 B
Diff
26 lines
770 B
Diff
diff --git a/dep/g3dlite/include/G3D/GMutex.h b/dep/g3dlite/include/G3D/GMutex.h
|
|
index 3469b81..9fe098d 100644
|
|
--- a/dep/g3dlite/include/G3D/GMutex.h
|
|
+++ b/dep/g3dlite/include/G3D/GMutex.h
|
|
@@ -16,6 +16,7 @@
|
|
#ifndef G3D_WIN32
|
|
# include <pthread.h>
|
|
# include <signal.h>
|
|
+# include <unistd.h>
|
|
#endif
|
|
|
|
|
|
diff --git a/dep/g3dlite/include/G3D/platform.h b/dep/g3dlite/include/G3D/platform.h
|
|
index c8d2f0b..11093f4 100644
|
|
--- a/dep/g3dlite/include/G3D/platform.h
|
|
+++ b/dep/g3dlite/include/G3D/platform.h
|
|
@@ -57,7 +57,7 @@
|
|
#elif defined(__linux__)
|
|
#define G3D_LINUX
|
|
#elif defined(__APPLE__)
|
|
- #define G3D_OSX
|
|
+ #define G3D_LINUX
|
|
|
|
// Prevent OS X fp.h header from being included; it defines
|
|
// pi as a constant, which creates a conflict with G3D
|