summaryrefslogtreecommitdiff
path: root/net-mgmt/etherape/files/patch-src_decode__proto.c
blob: 7c89891b9573bba3381ba6917dcb46cae22731c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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