From dd4b912f4cc9b508a66848d5325570532a72cfc6 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 26 Mar 2002 07:58:43 +0000 Subject: [PATCH] applied patch from Allan Clark for UnixWare/OpenServer Daniel * configure.in nanohttp.c: applied patch from Allan Clark for UnixWare/OpenServer Daniel --- ChangeLog | 5 +++++ configure.in | 2 +- nanohttp.c | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a0c863f0..818a5740 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 26 08:55:53 CET 2002 Daniel Veillard + + * configure.in nanohttp.c: applied patch from Allan Clark for + UnixWare/OpenServer + Mon Mar 25 17:45:44 CET 2002 Daniel Veillard * configure.in: preparing 2.4.19 diff --git a/configure.in b/configure.in index 47a27f5c..46679017 100644 --- a/configure.in +++ b/configure.in @@ -87,7 +87,7 @@ AC_CHECK_HEADERS(stdarg.h sys/stat.h sys/types.h time.h ansidecl.h) AC_CHECK_HEADERS(ieeefp.h nan.h math.h fp_class.h float.h) AC_CHECK_HEADERS(stdlib.h sys/socket.h netinet/in.h arpa/inet.h) AC_CHECK_HEADERS(netdb.h sys/time.h sys/select.h sys/mman.h) -AC_CHECK_HEADERS(sys/timeb.h signal.h resolv.h) +AC_CHECK_HEADERS(sys/timeb.h signal.h arpa/nameser.h resolv.h) dnl Specific dir for HTML output ? if test "x$with_html_dir" = "x" ; then diff --git a/nanohttp.c b/nanohttp.c index 4bbf07cf..0fcf5a16 100644 --- a/nanohttp.c +++ b/nanohttp.c @@ -40,6 +40,9 @@ #include #endif #ifdef HAVE_RESOLV_H +# ifdef HAVE_ARPA_NAMESER_H +# include +# endif #include #endif #ifdef HAVE_FCNTL_H