Skip to content

Commit 7ead7f4

Browse files
David CarlierFelipe Zimmerle
David Carlier
authored and
Felipe Zimmerle
committed
Few missing headers, in the <arpa/inet.h> inclusions ones mainly due to the fact APR_HAVE* constants are simply into apr.h
1 parent b878ece commit 7ead7f4

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

apache2/msc_status_engine.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#ifdef WIN32
2020
#include <winsock2.h>
2121
#include <iphlpapi.h>
22+
#else
23+
#include <sys/ioctl.h>
24+
#include <netdb.h>
2225
#endif
2326

2427
#ifdef DARWIN

apache2/msc_tree.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#include <stdio.h>
1616
#include <stdlib.h>
17+
#include <apr.h>
1718
#if APR_HAVE_STDINT_H
1819
#include <stdint.h>
1920
#endif

apache2/msc_util.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
#include "msc_release.h"
2323
#include "msc_util.h"
2424

25+
#include <apr.h>
26+
#if APR_HAVE_ARPA_INET_H
27+
#include <arpa/inet.h>
28+
#endif
2529
#include <apr_lib.h>
2630
#include <apr_sha1.h>
2731
#include "modsecurity_config.h"

0 commit comments

Comments
 (0)