diff options
Diffstat (limited to 'net-mgmt/etherape/files/patch-src_names_names.c')
-rw-r--r-- | net-mgmt/etherape/files/patch-src_names_names.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-mgmt/etherape/files/patch-src_names_names.c b/net-mgmt/etherape/files/patch-src_names_names.c new file mode 100644 index 000000000000..42a45c2727b2 --- /dev/null +++ b/net-mgmt/etherape/files/patch-src_names_names.c @@ -0,0 +1,21 @@ +--- src/names/names.c.orig 2017-03-18 16:11:42 UTC ++++ src/names/names.c +@@ -19,7 +19,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 |