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