opnsense-ports/net-mgmt/etherape/files/patch-src_names.c
Franco Fichtner 8576aed609 */*: sync with upstream
Taken from: FreeBSD
2016-03-07 21:15:50 +01:00

21 lines
394 B
C

--- src/names.c.orig 2014-02-02 11:30:03 UTC
+++ src/names.c
@@ -21,7 +21,18 @@
#include <config.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif