mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core: Fix compiling on Fedora (G3D related)
Thanks F3st and Gamera Closes #7477
This commit is contained in:
12
dep/g3dlite/G3D-v8.0_extra.diff
Normal file
12
dep/g3dlite/G3D-v8.0_extra.diff
Normal 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
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#ifndef G3D_WIN32
|
||||
# include <pthread.h>
|
||||
# include <signal.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user