projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9504da
)
Add ws2tcpip.h for getaddrinfo on Windows
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 2 Apr 2013 14:03:23 +0000
(16:03 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 2 Apr 2013 14:03:23 +0000
(16:03 +0200)
src/getaddrinfo.c
patch
|
blob
|
history
diff --git
a/src/getaddrinfo.c
b/src/getaddrinfo.c
index
a5f6a3a
..
24ce534
100644
(file)
--- a/
src/getaddrinfo.c
+++ b/
src/getaddrinfo.c
@@
-34,7
+34,8
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <sys/socket.h>
#endif
#ifdef WIN32
-#include <winsock.h>
+#include <winsock2.h>
+#include <ws2tcpip.h>
#endif
#if HAVE_NETDB_H
#include <netdb.h>