diff options
author | Micael Karlberg <[email protected]> | 2019-03-18 17:10:47 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2019-03-18 17:10:47 +0100 |
commit | da426e86d37f05602f147b14c5d3839b677362f0 (patch) | |
tree | d010e99c3a7dbc8a4f98ad7abb2557c7dc546795 /lib/kernel/test/gen_tcp_api_SUITE_data | |
parent | 1c329d9b3600356caf75636df7fd40eb8221c43d (diff) | |
download | otp-da426e86d37f05602f147b14c5d3839b677362f0.tar.gz otp-da426e86d37f05602f147b14c5d3839b677362f0.tar.bz2 otp-da426e86d37f05602f147b14c5d3839b677362f0.zip |
[kernel|test] Adjustments to new compiler (C99)
Diffstat (limited to 'lib/kernel/test/gen_tcp_api_SUITE_data')
-rw-r--r-- | lib/kernel/test/gen_tcp_api_SUITE_data/gen_tcp_api_SUITE.c | 1 |
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 |