macros in arpa/inet.h which turn such "calls" into nothing and does not
have functions to link against in libc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88120
13f79535-47bb-0310-9956-
ffa450edef68
#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
#include "mod_dav.h"
#include "http_protocol.h"
#include "http_core.h"
+#if APR_HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
+
/*
* After all the definitions there's an explanation of how it's all put
* together.