ports/net/libnet/files/patch-include-libnet.h.in
Po-Chuan Hsieh 9f7a28532c
net/libnet: Update to 1.2
- Update pkg-descr
- Update WWW
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/libnet/libnet/releases
2022-07-30 13:57:11 +08:00

12 lines
332 B
C

--- include/libnet.h.in.orig 2019-10-06 06:18:52 UTC
+++ include/libnet.h.in
@@ -75,6 +75,9 @@ extern "C" {
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
+#if defined (__FreeBSD__) || defined (__DragonFly__)
+#include <netinet/in.h>
+#endif
#include <arpa/inet.h>
#include <sys/time.h>
#include <netdb.h>