vcpkg/ports/libmaxminddb/fix-linux-build.patch
Jia Yue Hua 49f690c205
[libmaxminddb] update to 1.7.1 (#34561)
* [libmaxminddb] update to 1.7.1

* [libmaxminddb] update to 1.7.1
2023-10-18 10:03:24 -07:00

20 lines
488 B
Diff

diff --git a/include/maxminddb.h b/include/maxminddb.h
index 4002ec6..65482c5 100644
--- 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 */
+#define PACKAGE_VERSION "1.7.1"
+
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
-/* libmaxminddb package version from configure */
-#define PACKAGE_VERSION "1.7.1"
typedef ADDRESS_FAMILY sa_family_t;