diff options
Diffstat (limited to 'games/dangerdeep/files/patch-src__subsim.cpp')
-rw-r--r-- | games/dangerdeep/files/patch-src__subsim.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/dangerdeep/files/patch-src__subsim.cpp b/games/dangerdeep/files/patch-src__subsim.cpp new file mode 100644 index 000000000000..e8155a51c6a4 --- /dev/null +++ b/games/dangerdeep/files/patch-src__subsim.cpp @@ -0,0 +1,19 @@ +--- src/subsim.cpp.orig 2007-06-11 15:16:23 UTC ++++ src/subsim.cpp +@@ -31,6 +31,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, + #else + #include "oglext/OglExt.h" + #endif ++#include <unistd.h> + #include <glu.h> + #include <SDL.h> + #include <SDL_net.h> +@@ -1735,7 +1736,7 @@ int mymain(list<string>& args) + glEnable(GL_LIGHT0); + + // create and start thread for music handling. +- thread::auto_ptr<music> mmusic(new music(use_sound)); ++ ::thread::auto_ptr<music> mmusic(new music(use_sound)); + mmusic->start(); + + reset_loading_screen(); |