19 lines
401 B
Plaintext
19 lines
401 B
Plaintext
$NetBSD: patch-aj,v 1.4 2015/04/24 11:32:29 spz Exp $
|
|
|
|
Inlucde resolv.h conditionally:
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=617053
|
|
|
|
--- nanohttp.c.orig 2014-10-03 11:28:05.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
|