aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-08-04 17:36:12 +0200
committerLukas Larsson <[email protected]>2014-08-06 14:49:32 +0200
commit6e3f09186e0a5e89eb729840f71e2a73684e9b50 (patch)
treef312cdcba9632b99956b943f6164b81f9161e610 /lib/kernel/test
parent62081266545df8f5eda8e2043f33055cfe575126 (diff)
downloadotp-6e3f09186e0a5e89eb729840f71e2a73684e9b50.tar.gz
otp-6e3f09186e0a5e89eb729840f71e2a73684e9b50.tar.bz2
otp-6e3f09186e0a5e89eb729840f71e2a73684e9b50.zip
erts: Fix tc and docs after {fd,FD} bind change
The sha of the original change is 52810718b
Diffstat (limited to 'lib/kernel/test')
-rw-r--r--lib/kernel/test/gen_tcp_api_SUITE_data/Makefile.src1
-rw-r--r--lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/gen_tcp_api_SUITE_data/Makefile.src b/lib/kernel/test/gen_tcp_api_SUITE_data/Makefile.src
index b6027de0d7..5477598160 100644
--- a/lib/kernel/test/gen_tcp_api_SUITE_data/Makefile.src
+++ b/lib/kernel/test/gen_tcp_api_SUITE_data/Makefile.src
@@ -1,5 +1,6 @@
NIF_LIBS = gen_tcp_api_SUITE@dll@
+SHLIB_EXTRA_LDLIBS = @LIBS@
all: $(NIF_LIBS)
diff --git a/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c b/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
index 6be7838363..73a6568b30 100644
--- a/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
+++ b/lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c
@@ -22,13 +22,12 @@
#include <string.h>
#include <assert.h>
#include <limits.h>
-#include <sys/socket.h>
#include <sys/types.h>
#ifdef __WIN32__
#include <winsock2.h>
#else
-
+#include <sys/socket.h>
#endif
#define sock_open(af, type, proto) socket((af), (type), (proto))