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
(parent:
56ffdca
)
Виправлена помилка компіляції бібліотеки common.lib на платформі Win32
author
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 18 Dec 2010 21:14:14 +0000
(23:14 +0200)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Sat, 18 Dec 2010 21:14:14 +0000
(23:14 +0200)
stglibs/common.lib/common.cpp
patch
|
blob
|
history
diff --git
a/stglibs/common.lib/common.cpp
b/stglibs/common.lib/common.cpp
index 3ad1eb5abbc50fbe56bb6e21ce2af35e07c9c421..7124670401bf5a6ed922145e29268b38488d5eb8 100644
(file)
--- a/
stglibs/common.lib/common.cpp
+++ b/
stglibs/common.lib/common.cpp
@@
-58,9
+58,14
@@
#include <sys/types.h>
#endif
+#ifdef WIN32
+#include <winsock2.h>
+#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#endif
+
#include <iconv.h>
#include <cstdlib>