vcpkg/ports/libmaxminddb/fix-linux-build.patch

20 lines
488 B
Diff

diff --git a/include/maxminddb.h b/include/maxminddb.h
index de1fdf8..1d17bc3 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.3.2"
+
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
-/* libmaxminddb package version from configure */
-#define PACKAGE_VERSION "1.3.2"
typedef ADDRESS_FAMILY sa_family_t;