]> git.mxchange.org Git - simgear.git/commitdiff
Make sure the prototype definition of sleep() is found (at least for IRIX).
authorehofman <ehofman>
Tue, 27 Apr 2004 08:59:31 +0000 (08:59 +0000)
committerehofman <ehofman>
Tue, 27 Apr 2004 08:59:31 +0000 (08:59 +0000)
simgear/sound/openal_test1.cxx
simgear/sound/openal_test2.cxx

index 55127b2b4c73cb203981976ca83a811d54cc1b1d..0a62ef1e052bcad62ee568c93ba4c6824468e6e1 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <unistd.h>    // sleep()
 
 #if defined( __APPLE__ )
 # define AL_ILLEGAL_ENUM AL_INVALID_ENUM
index 44a36e2627b74be0654e0602b906748af86d9c04..63353ab67ec107a062976927d2d1923a605ab795 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <unistd.h>    // sleep()
 
 #include "sample_openal.hxx"
 #include "soundmgr_openal.hxx"