including the appropriate system header files directly.
This gets rid of a warning for props.c on FreeBSD 3.4 which cropped
up when I included the right header file to get OS/390 to build :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88132
13f79535-47bb-0310-9956-
ffa450edef68
#include "apr_lib.h"
#define APR_WANT_STRFUNC
+#define APR_WANT_BYTEFUNC
#include "apr_want.h"
#include "ap_config.h"
#if APR_HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
-#if APR_HAVE_ARPA_INET_H
-#include <arpa/inet.h>
-#endif
-
enum allowdeny_type {
T_ENV,
#include "apr.h"
#include "apr_strings.h"
-#if APR_HAVE_STDIO_H
-#include <stdio.h> /* for sprintf() */
-#endif
-#if APR_HAVE_ARPA_INET_H
-#include <arpa/inet.h> /* for ntohs(), htons() */
-#endif
+#define APR_WANT_STDIO
+#define APR_WANT_BYTEFUNC
+#include "apr_want.h"
#include "mod_dav.h"