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

18 lines
389 B
C

--- src/decode_proto.c.orig 2014-02-02 18:38:16 UTC
+++ src/decode_proto.c
@@ -27,6 +27,15 @@
#include "appdata.h"
#include <ctype.h>
#include <string.h>
+#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