summaryrefslogtreecommitdiffstats
path: root/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-10-20 14:40:51 +0200
committergregory guy <[email protected]>2021-01-13 18:12:31 +0100
commit81b64bcfc0a32fdeb0e4f367adbf273d924e55f4 (patch)
tree9e0903eb2b5cc19a7dcf4874d098a29133d3163c /src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
parent8b4f72aa0753110a46db9195216f3c88e14a9b69 (diff)
downloadtork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.tar.gz
tork-81b64bcfc0a32fdeb0e4f367adbf273d924e55f4.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c')
-rw-r--r--src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c b/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
index 2a65759..b5c445a 100644
--- a/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
+++ b/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
@@ -17,9 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <GeoIP.h>
-#include <GeoIP_internal.h>
-#include <GeoIPCity.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "GeoIP.h"
+#include "GeoIP_internal.h"
+#include "GeoIPCity.h"
+
#ifndef WIN32
#include <netdb.h>
#include <netinet/in.h> /* For ntohl */
@@ -27,7 +32,9 @@
#include <windows.h>
#include <winsock.h>
#endif
+
#include <sys/types.h> /* For uint32_t */
+
#ifdef HAVE_STDINT_H
#include <stdint.h> /* For uint32_t */
#endif