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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user