openbsd-ports/net/farsight2/patches/patch-tests_check_testutils_c
jasper 29c52f7803 - allow tests to compile
extraced from a diff by tom murphy
2010-10-22 18:20:22 +00:00

15 lines
428 B
Plaintext

$OpenBSD: patch-tests_check_testutils_c,v 1.1 2010/10/22 18:20:22 jasper Exp $
--- tests/check/testutils.c.orig Fri Oct 22 18:43:23 2010
+++ tests/check/testutils.c Fri Oct 22 18:43:52 2010
@@ -27,7 +27,9 @@
#include "testutils.h"
#ifdef HAVE_GETIFADDRS
- #include <sys/socket.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <ifaddrs.h>
#include <net/if.h>
#include <arpa/inet.h>