Browse Source

Updated 4th party mods: m_geoip_whois

Wazakindjes 7 months ago
parent
commit
4dda793fc6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      4thparty/m_geoip_whois.c

+ 5 - 0
4thparty/m_geoip_whois.c

@@ -22,6 +22,11 @@ geoip-whois {
 
 #define MYCONF "geoip-whois"
 
+// suggested by Gottem to allow Windows compilation
+#ifndef R_OK
+#define R_OK 4
+#endif
+
 struct ip_range {
 	uint32_t addr;
 	uint32_t mask;