]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/common.cpp
Fixed compilation with linux-3.5.1 and higher.
[stg.git] / stglibs / common.lib / common.cpp
index 2bb327dfebb5a34be36277167d8fa77366289311..2ea32c2b7060f0017c5298931e829ff7674af154 100644 (file)
  $Author: faust $
  */
 
  $Author: faust $
  */
 
-#ifdef FREE_BSD
+// For old and dub systems
+// Like FreeBSD4
 #include <sys/types.h>
 #include <sys/types.h>
-#endif
 #include <sys/time.h>
 #include <sys/time.h>
+#include <unistd.h>
+
+#include <sys/select.h>
 
 #ifdef WIN32
 #include <winsock2.h>
 
 #ifdef WIN32
 #include <winsock2.h>