2019-05-15 02:45:13 +08:00
|
|
|
diff --git a/include/maxminddb.h b/include/maxminddb.h
|
2020-09-23 06:36:04 +08:00
|
|
|
index 13b276f..6c70e49 100644
|
2019-05-15 02:45:13 +08:00
|
|
|
--- a/include/maxminddb.h
|
|
|
|
+++ b/include/maxminddb.h
|
|
|
|
@@ -24,11 +24,12 @@ extern "C" {
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
+/* libmaxminddb package version from configure */
|
2020-09-23 06:36:04 +08:00
|
|
|
+#define PACKAGE_VERSION "1.4.3"
|
2019-05-15 02:45:13 +08:00
|
|
|
+
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <winsock2.h>
|
|
|
|
#include <ws2tcpip.h>
|
|
|
|
-/* libmaxminddb package version from configure */
|
2020-09-23 06:36:04 +08:00
|
|
|
-#define PACKAGE_VERSION "1.4.3"
|
2019-05-15 02:45:13 +08:00
|
|
|
|
|
|
|
typedef ADDRESS_FAMILY sa_family_t;
|
|
|
|
|