]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/common.cpp
Fix headers with select declaration
[stg.git] / 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>