mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-19 09:20:56 -04:00
19 lines
402 B
Plaintext
19 lines
402 B
Plaintext
$NetBSD: patch-aj,v 1.3 2012/09/15 10:23:38 adam Exp $
|
|
|
|
Inlucde resolv.h conditionally:
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=617053
|
|
|
|
--- nanohttp.c.orig 2012-09-11 04:23:25.000000000 +0000
|
|
+++ nanohttp.c
|
|
@@ -43,8 +43,10 @@
|
|
#ifdef HAVE_ARPA_NAMESER_H
|
|
#include <arpa/nameser.h>
|
|
#endif
|
|
+#ifdef HAVE_RESOLV_H
|
|
#include <resolv.h>
|
|
#endif
|
|
+#endif
|
|
#ifdef HAVE_FCNTL_H
|
|
#include <fcntl.h>
|
|
#endif
|