Few missing headers, in the <arpa/inet.h> inclusions ones mainly due to the fact APR_HAVE* constants are simply into apr.h

This commit is contained in:
David Carlier 2017-06-12 11:55:47 +01:00 committed by Felipe Zimmerle
parent b878ece6c6
commit 7ead7f4d23
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277
3 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,9 @@
#ifdef WIN32
#include <winsock2.h>
#include <iphlpapi.h>
#else
#include <sys/ioctl.h>
#include <netdb.h>
#endif
#ifdef DARWIN

View File

@ -14,6 +14,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <apr.h>
#if APR_HAVE_STDINT_H
#include <stdint.h>
#endif

View File

@ -22,6 +22,10 @@
#include "msc_release.h"
#include "msc_util.h"
#include <apr.h>
#if APR_HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#include <apr_lib.h>
#include <apr_sha1.h>
#include "modsecurity_config.h"