1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00

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
This commit is contained in:
Jeff Trawick
2001-02-12 21:03:35 +00:00
parent 3cf6ff9dae
commit f202bd3cb9
2 changed files with 7 additions and 0 deletions

View File

@@ -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"

View File

@@ -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.