--- strings/apr_strings.c (revision 774225) +++ strings/apr_strings.c (working copy) @@ -55,10 +55,6 @@ #define APR_WANT_STRFUNC #include "apr_want.h" -#ifdef HAVE_STDDEF_H -#include /* NULL */ -#endif - #ifdef HAVE_STDLIB_H #include /* strtol and strtoll */ #endif --- include/apr.h.in (revision 774225) +++ include/apr.h.in (working copy) @@ -87,6 +87,7 @@ #define APR_HAVE_SEMAPHORE_H @semaphoreh@ #define APR_HAVE_SIGNAL_H @signalh@ #define APR_HAVE_STDARG_H @stdargh@ +#define APR_HAVE_STDDEF_H @stddefh@ #define APR_HAVE_STDINT_H @stdint@ #define APR_HAVE_STDIO_H @stdioh@ #define APR_HAVE_STDLIB_H @stdlibh@ --- include/apr_strings.h (revision 774225) +++ include/apr_strings.h (working copy) @@ -51,6 +51,10 @@ #define APR_WANT_IOVEC #include "apr_want.h" +#if APR_HAVE_STDDEF_H +#include /* NULL */ +#endif + #if APR_HAVE_STDARG_H #include #endif --- include/apr_tables.h (revision 774225) +++ include/apr_tables.h (working copy) @@ -25,6 +25,10 @@ #include "apr.h" #include "apr_pools.h" +#if APR_HAVE_STDDEF_H +#include /* NULL */ +#endif + #if APR_HAVE_STDARG_H #include /* for va_list */ #endif --- configure.in (revision 774225) +++ configure.in (working copy) @@ -1223,6 +1223,7 @@ AC_SUBST(netinet_sctp_uioh) AC_SUBST(netinet_tcph) AC_SUBST(stdargh) +AC_SUBST(stddefh) AC_SUBST(stdioh) AC_SUBST(stdlibh) AC_SUBST(stringh)