From 7ead7f4d23ee6bb2f491842826071624f06cba32 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 12 Jun 2017 11:55:47 +0100 Subject: [PATCH] Few missing headers, in the inclusions ones mainly due to the fact APR_HAVE* constants are simply into apr.h --- apache2/msc_status_engine.c | 3 +++ apache2/msc_tree.c | 1 + apache2/msc_util.c | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/apache2/msc_status_engine.c b/apache2/msc_status_engine.c index 834ecc3e..3ee6c686 100644 --- a/apache2/msc_status_engine.c +++ b/apache2/msc_status_engine.c @@ -19,6 +19,9 @@ #ifdef WIN32 #include #include +#else +#include +#include #endif #ifdef DARWIN diff --git a/apache2/msc_tree.c b/apache2/msc_tree.c index c672bd5f..ddbc4f21 100644 --- a/apache2/msc_tree.c +++ b/apache2/msc_tree.c @@ -14,6 +14,7 @@ #include #include +#include #if APR_HAVE_STDINT_H #include #endif diff --git a/apache2/msc_util.c b/apache2/msc_util.c index 33447ba0..e3923ff2 100644 --- a/apache2/msc_util.c +++ b/apache2/msc_util.c @@ -22,6 +22,10 @@ #include "msc_release.h" #include "msc_util.h" +#include +#if APR_HAVE_ARPA_INET_H +#include +#endif #include #include #include "modsecurity_config.h"