[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] geoip: fix windows compilation



commit 34402ece8c7483ba0a206af35c1bae3d79e9b63c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Sep 27 11:02:58 2018 -0400

    geoip: fix windows compilation
---
 src/lib/geoip/.may_include | 1 +
 src/lib/geoip/geoip.h      | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/lib/geoip/.may_include b/src/lib/geoip/.may_include
index 63207125b..b1ee2dcfe 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 3c1238c31..6ef27d66d 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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits