aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-03-21 11:16:45 +0100
committerMicael Karlberg <[email protected]>2019-03-21 11:16:45 +0100
commit2bc3b1c09488ffb6bf3ce33a59b9c1118f090bc9 (patch)
tree90666289320fd7a0b06d437142fa1ab48647eed7
parent4b550bb3dd326bde53e4088f41f7affc1ff04ab4 (diff)
parentda426e86d37f05602f147b14c5d3839b677362f0 (diff)
downloadotp-2bc3b1c09488ffb6bf3ce33a59b9c1118f090bc9.tar.gz
otp-2bc3b1c09488ffb6bf3ce33a59b9c1118f090bc9.tar.bz2
otp-2bc3b1c09488ffb6bf3ce33a59b9c1118f090bc9.zip
Merge branch 'bmk/20190318/gen_tcp_compiler_adaptions'
-rw-r--r--lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c1
1 files changed, 1 insertions, 0 deletions
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 b91dca61d4..96938f9071 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
@@ -30,6 +30,7 @@
#define sock_close(s) closesocket(s)
#else
#include <sys/socket.h>
+#include <unistd.h>
#define sock_close(s) close(s)
#endif