ports/sysutils/busybox/files/patch-networking_nslookup.c
Oleksii Samorukov d8ef181ea1 sysutils/busybox: Update to 1.32.1
- Update to 1.32.1 and adopt patches to the upstream changes
- Enable more applets

Approved by:	krion
Differential Revision:	https://reviews.freebsd.org/D27934
2021-01-04 16:16:52 +00:00

12 lines
347 B
C

--- networking/nslookup.c.orig 2021-01-01 13:30:02 UTC
+++ networking/nslookup.c
@@ -34,6 +34,9 @@
//usage: "Name: debian\n"
//usage: "Address: 127.0.0.1\n"
+#ifdef __FreeBSD__
+#include <netinet/in.h> /* for struct in_addr */
+#endif
#include <resolv.h>
#include <net/if.h> /* for IFNAMSIZ */
//#include <arpa/inet.h>