vcpkg/ports/libmaxminddb/fix-linux-build.patch
NancyLi1013 7339aea6f5
[Many ports] Update to the latest version or commit (#13560)
* [Many ports] Update to the latest version or commit

* [libplist] Update version
[libsync] Update patch format

* Update as review suggestions

* [libplist] Revert changes
2020-09-22 15:36:04 -07:00

20 lines
488 B
Diff

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;