summaryrefslogtreecommitdiffstats
path: root/src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-10-20 14:40:51 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-01-15 15:15:39 +0100
commit7fefe15989a08e255ade5e577c781701b157d430 (patch)
tree094796ae879ca732f013f7ff6baf059da9d3b862 /src/GeoIP-1.4.0/libGeoIP/GeoIPCity.c
parentade9896cdea394b76db639c1f22a43821a9d1ecd (diff)
downloadtork-7fefe159.tar.gz
tork-7fefe159.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 81b64bcfc0a32fdeb0e4f367adbf273d924e55f4)
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