ports/net-mgmt/etherape/files/patch-src_decode__proto.c
Mathieu Arnold 209c19ed3e Update to 0.9.14
PR:		207164
Submitted by:	tkato432 yahoo com
Sponsored by:	Absolight
2016-03-07 17:47:40 +00:00

18 lines
389 B
C

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