Commit ab0114e3 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

include <arpa/inet.h> for the declarations for htons() et al; OS/390 has

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
parent 2d481505
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -184,6 +184,9 @@
#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"

+4 −0
Original line number Diff line number Diff line
@@ -77,6 +77,10 @@
#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.