ports/net-mgmt/etherape/files/patch-src_names_names.c
Ben Woods c4f5cc893f net-mgmt/etherape: Update to 0.9.16
A number of port changes were required due to the upstream migration
away from the Gnome2 libraries. Refer to the 0.9.16 release notes.

Changes this release:
  http://etherape.sourceforge.net/NEWS.html
2018-03-05 08:19:09 +00:00

21 lines
406 B
C

--- 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