projects
/
libw3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
214733a
)
winsock
author
nishi
<nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Mon, 5 Feb 2024 02:56:34 +0000
(
02:56
+0000)
committer
nishi
<nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Mon, 5 Feb 2024 02:56:34 +0000
(
02:56
+0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@166
d27a3e52
-49c5-7645-884c-
6793ebffc270
Library/DNS.c
patch
|
blob
|
history
diff --git
a/Library/DNS.c
b/Library/DNS.c
index 62eb794649d4998f59ddb059c109b472e1b089e8..0b2685ca215c7258072774640e07595d392060ce 100644
(file)
--- a/
Library/DNS.c
+++ b/
Library/DNS.c
@@
-10,9
+10,11
@@
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <ws2def.h>
#else
#include <netdb.h>
#include <sys/socket.h>
+#include <netinet/tcp.h>
#endif
#include <stdbool.h>