git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
03f48bb
)
Fix headers with select declaration
author
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 12:49:51 +0000
(15:49 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Tue, 20 Sep 2011 12:49:51 +0000
(15:49 +0300)
stglibs/common.lib/common.cpp
patch
|
blob
|
history
diff --git
a/stglibs/common.lib/common.cpp
b/stglibs/common.lib/common.cpp
index 2bb327dfebb5a34be36277167d8fa77366289311..e3fbd9a8f949b75b4888d19e670e1a9755f91147 100644
(file)
--- a/
stglibs/common.lib/common.cpp
+++ b/
stglibs/common.lib/common.cpp
@@
-28,10
+28,13
@@
$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>