pineapple-src/externals/vcpkg/ports/libmaxminddb/fix-linux-build.patch
2022-07-23 03:01:36 +02:00

19 lines
488 B
Diff
Executable file

diff --git a/include/maxminddb.h b/include/maxminddb.h
index 13b276f..6c70e49 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.4.3"
+
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
-/* libmaxminddb package version from configure */
-#define PACKAGE_VERSION "1.4.3"
typedef ADDRESS_FAMILY sa_family_t;