Skip to content

Instantly share code, notes, and snippets.

@SkirnirMaNGOS
Created May 1, 2012 13:03
Show Gist options
  • Save SkirnirMaNGOS/2567779 to your computer and use it in GitHub Desktop.
Save SkirnirMaNGOS/2567779 to your computer and use it in GitHub Desktop.
gcc4.7-GMutex.diff
diff --git a/dep/include/g3dlite/G3D/GMutex.h b/dep/include/g3dlite/G3D/GMutex.h
index 3469b81..147be63 100644
--- a/dep/include/g3dlite/G3D/GMutex.h
+++ b/dep/include/g3dlite/G3D/GMutex.h
@@ -12,6 +12,7 @@
#include "G3D/AtomicInt32.h"
#include "G3D/debugAssert.h"
#include <string>
+#include <unistd.h>
#ifndef G3D_WIN32
# include <pthread.h>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment