Core: Fix compiling on Fedora (G3D related)

Thanks F3st and Gamera

Closes #7477
This commit is contained in:
Nay
2012-08-22 14:38:29 +01:00
parent e2b61714ca
commit fb3e446e4d
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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

View File

@@ -16,6 +16,7 @@
#ifndef G3D_WIN32
# include <pthread.h>
# include <signal.h>
# include <unistd.h>
#endif