summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-07 17:05:57 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-08 15:18:08 +0200
commit29d4b06445fdf6d722a64e402e069e1112427c29 (patch)
treeac2dc0acbc05d305bd31ef0c512afdea280fad0d
parent60e31b66fe928f065b457a3cb88260ea951b5f5e (diff)
downloadgnutls-29d4b06445fdf6d722a64e402e069e1112427c29.tar.gz
tests: ip-utils: added include for FreeBSD compilation
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/ip-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ip-utils.c b/tests/ip-utils.c
index cac1e85bc1..b88b94de28 100644
--- a/tests/ip-utils.c
+++ b/tests/ip-utils.c
@@ -33,6 +33,7 @@
#ifndef _WIN32
# include <cmocka.h>
+# include <sys/socket.h>
# include <arpa/inet.h>
#define BUILD_IN_TESTS