diff options
Diffstat (limited to 'sysutils/busybox/files/patch-networking_nslookup.c')
| -rw-r--r-- | sysutils/busybox/files/patch-networking_nslookup.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/busybox/files/patch-networking_nslookup.c b/sysutils/busybox/files/patch-networking_nslookup.c index 5104149fdb83..08bf1836220a 100644 --- a/sysutils/busybox/files/patch-networking_nslookup.c +++ b/sysutils/busybox/files/patch-networking_nslookup.c @@ -1,10 +1,12 @@ ---- networking/nslookup.c.orig 2019-02-14 13:31:15 UTC +--- networking/nslookup.c.orig 2021-01-01 13:30:02 UTC +++ networking/nslookup.c -@@ -34,6 +34,7 @@ +@@ -34,6 +34,9 @@ //usage: "Name: debian\n" //usage: "Address: 127.0.0.1\n" -+#include <netinet/in.h> ++#ifdef __FreeBSD__ ++#include <netinet/in.h> /* for struct in_addr */ ++#endif #include <resolv.h> #include <net/if.h> /* for IFNAMSIZ */ //#include <arpa/inet.h> |
