summaryrefslogtreecommitdiff
path: root/net-mgmt/etherape/files/patch-src_diagram.c
blob: 62acd31ecebcbfcfe46082cfda8cc50569c4282c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/diagram.c.orig	2016-01-25 20:19:16 UTC
+++ src/diagram.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
 
 #include <gnome.h>
 #include <regex.h>