summaryrefslogtreecommitdiff
path: root/net-mgmt/etherape/files/patch-src__decocde_proto.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-04-26 02:32:10 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-04-26 02:32:10 +0000
commit6e692f8c612db84d451a5aa01226ef9ba1b7504b (patch)
tree5f614ca9ad470a3fcda656eef2eaa9405dd219bd /net-mgmt/etherape/files/patch-src__decocde_proto.c
parent- Update to version 8.0.0 (diff)
- Update to 0.9.13
PR: 188862 Submitted by: Ports Fury
Diffstat (limited to 'net-mgmt/etherape/files/patch-src__decocde_proto.c')
-rw-r--r--net-mgmt/etherape/files/patch-src__decocde_proto.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/etherape/files/patch-src__decocde_proto.c b/net-mgmt/etherape/files/patch-src__decocde_proto.c
new file mode 100644
index 000000000000..e1bc96de9f01
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-src__decocde_proto.c
@@ -0,0 +1,18 @@
+--- src/decode_proto.c.orig
++++ 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