Fix compilation without the GeoIP headers installed on the system

This commit is contained in:
Felipe Zimmerle 2015-12-01 15:27:14 -03:00
parent 854ca4c1cd
commit 467c977afc
3 changed files with 2 additions and 4 deletions

View File

@ -24,7 +24,9 @@
#include "utils/geo_lookup.h"
#ifdef WITH_GEOIP
#include <GeoIPCity.h>
#endif // WITH_GEOIP
namespace modsecurity {
namespace Utils {

View File

@ -22,8 +22,6 @@
#include <string>
#include <functional>
#include <GeoIPCity.h>
#ifndef SRC_UTILS_HTTPS_CLIENT_H_
#define SRC_UTILS_HTTPS_CLIENT_H_

View File

@ -18,8 +18,6 @@
#include <string>
#include <functional>
#include <GeoIPCity.h>
#ifndef SRC_UTILS_IP_TREE_H_
#define SRC_UTILS_IP_TREE_H_