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

20 lines
488 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
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;