aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/inet_gethost.c
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2010-11-12 10:14:18 +0100
committerRaimo Niskanen <[email protected]>2010-11-12 10:14:18 +0100
commit7edc140cb952137672e82f7dc8d7f100660d86f5 (patch)
tree51c603e06919ada93997015d9d3c05ab3e264a7d /erts/etc/common/inet_gethost.c
parentffbde437305a5fe7bd48786d935ed01c1c42a0fa (diff)
parentd5c04534c1a04701493c28ff24d7040cc513515c (diff)
downloadotp-7edc140cb952137672e82f7dc8d7f100660d86f5.tar.gz
otp-7edc140cb952137672e82f7dc8d7f100660d86f5.tar.bz2
otp-7edc140cb952137672e82f7dc8d7f100660d86f5.zip
Merge branch 'raimo/inet-getifaddrs/OTP-8926' into dev
* raimo/inet-getifaddrs/OTP-8926: Write documentation Delete decommented code Add testcase Implement inet:getifaddrs/0 on Windows Implement basic inet:getifaddrs/0 Fix building error of SCTP in FreeBSD 7.1 and later
Diffstat (limited to 'erts/etc/common/inet_gethost.c')
-rw-r--r--erts/etc/common/inet_gethost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/etc/common/inet_gethost.c b/erts/etc/common/inet_gethost.c
index d3ff4874ac..e095836258 100644
--- a/erts/etc/common/inet_gethost.c
+++ b/erts/etc/common/inet_gethost.c
@@ -59,6 +59,7 @@
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
+#include <ws2tcpip.h>
#include <process.h>
#include <stdio.h>
#include <stdlib.h>