summaryrefslogtreecommitdiff
path: root/games/dangerdeep/files/patch-src__subsim.cpp
blob: e8155a51c6a470b6c613cd8e8ee9cf04e9c6eb55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();