]> git.stg.codes - stg.git/commitdiff
Fix headers with select declaration
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:49:51 +0000 (15:49 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 20 Sep 2011 12:49:51 +0000 (15:49 +0300)
stglibs/common.lib/common.cpp

index 2bb327dfebb5a34be36277167d8fa77366289311..e3fbd9a8f949b75b4888d19e670e1a9755f91147 100644 (file)
  $Author: faust $
  */
 
-#ifdef FREE_BSD
+#include <sys/select.h>
+
+// For old and dub systems
+// Like FreeBSD4
 #include <sys/types.h>
-#endif
 #include <sys/time.h>
+#include <unistd.h>
 
 #ifdef WIN32
 #include <winsock2.h>