diff options
author | Andreas Schneider <asn@samba.org> | 2018-06-29 15:17:10 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2018-08-09 10:59:07 +0200 |
commit | 4d732f6d037cfc2ca3c44c51081163b1d3e06b17 (patch) | |
tree | e51984584db2dad8de0d7e6c9ec1a6bbba44f04a /tests/test_thread_sockets.c | |
parent | 32c1b58590648becf179bea82eead158c324d7a7 (diff) | |
download | socket_wrapper-4d732f6d037cfc2ca3c44c51081163b1d3e06b17.tar.gz socket_wrapper-4d732f6d037cfc2ca3c44c51081163b1d3e06b17.tar.xz socket_wrapper-4d732f6d037cfc2ca3c44c51081163b1d3e06b17.zip |
tests: Add missing header for IPPROTO_TCP
This fixes the build on FreeBSD.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'tests/test_thread_sockets.c')
-rw-r--r-- | tests/test_thread_sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_thread_sockets.c b/tests/test_thread_sockets.c index 364a001..1b30783 100644 --- a/tests/test_thread_sockets.c +++ b/tests/test_thread_sockets.c @@ -11,6 +11,7 @@ #include <errno.h> #include <sys/types.h> #include <sys/socket.h> +#include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <grp.h> |