diff --git a/src/utils/geo_lookup.cc b/src/utils/geo_lookup.cc index bb10f739..beda0eee 100644 --- a/src/utils/geo_lookup.cc +++ b/src/utils/geo_lookup.cc @@ -24,7 +24,9 @@ #include "utils/geo_lookup.h" +#ifdef WITH_GEOIP #include +#endif // WITH_GEOIP namespace modsecurity { namespace Utils { diff --git a/src/utils/https_client.h b/src/utils/https_client.h index 800d6b1b..f965b082 100644 --- a/src/utils/https_client.h +++ b/src/utils/https_client.h @@ -22,8 +22,6 @@ #include #include -#include - #ifndef SRC_UTILS_HTTPS_CLIENT_H_ #define SRC_UTILS_HTTPS_CLIENT_H_ diff --git a/src/utils/ip_tree.h b/src/utils/ip_tree.h index ad6a9204..c15660c8 100644 --- a/src/utils/ip_tree.h +++ b/src/utils/ip_tree.h @@ -18,8 +18,6 @@ #include #include -#include - #ifndef SRC_UTILS_IP_TREE_H_ #define SRC_UTILS_IP_TREE_H_