aboutsummaryrefslogtreecommitdiff
path: root/src/lib/geoip
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 11:02:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 11:02:58 -0400
commit34402ece8c7483ba0a206af35c1bae3d79e9b63c (patch)
treea64496b5e5ccc8caa26bf220b8870375a191ebc6 /src/lib/geoip
parent013a1238336ab860a9c9998e1aec6bc211f33fb3 (diff)
downloadtor-34402ece8c7483ba0a206af35c1bae3d79e9b63c.tar.gz
tor-34402ece8c7483ba0a206af35c1bae3d79e9b63c.zip
geoip: fix windows compilation
Diffstat (limited to 'src/lib/geoip')
-rw-r--r--src/lib/geoip/.may_include1
-rw-r--r--src/lib/geoip/geoip.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/geoip/.may_include b/src/lib/geoip/.may_include
index 63207125bc..b1ee2dcfe9 100644
--- a/src/lib/geoip/.may_include
+++ b/src/lib/geoip/.may_include
@@ -1,3 +1,4 @@
+orconfig.h
lib/cc/*.h
lib/container/*.h
lib/crypt_ops/*.h
diff --git a/src/lib/geoip/geoip.h b/src/lib/geoip/geoip.h
index 3c1238c319..6ef27d66d0 100644
--- a/src/lib/geoip/geoip.h
+++ b/src/lib/geoip/geoip.h
@@ -12,8 +12,10 @@
#ifndef TOR_GEOIP_H
#define TOR_GEOIP_H
+#include "orconfig.h"
#include "lib/net/nettypes.h"
#include "lib/testsupport/testsupport.h"
+#include "lib/net/inaddr_st.h"
#include "lib/geoip/country.h"
#ifdef GEOIP_PRIVATE