summaryrefslogtreecommitdiff
path: root/tests/ip-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ip-utils.c')
-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