Core: Fix compiling on Fedora (G3D related)
Thanks F3st and Gamera Closes #7477
This commit is contained in:
1 parent
43cbb1e105
commit
e118a7fcc5
2 files changed
+13
No files matched your search
@@ -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
|
||||||
|
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
#ifndef G3D_WIN32
|
#ifndef G3D_WIN32
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
# include <signal.h>
|
# include <signal.h>
|
||||||
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user