aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/getdns/fix-include.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/getdns/fix-include.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/getdns/fix-include.patch')
-rw-r--r--vcpkg/ports/getdns/fix-include.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/getdns/fix-include.patch b/vcpkg/ports/getdns/fix-include.patch
new file mode 100644
index 0000000..27ea5fa
--- /dev/null
+++ b/vcpkg/ports/getdns/fix-include.patch
@@ -0,0 +1,30 @@
+diff --git a/src/gldns/parse.c b/src/gldns/parse.c
+index 367fa80..79fa527 100644
+--- a/src/gldns/parse.c
++++ b/src/gldns/parse.c
+@@ -13,7 +13,7 @@
+ #include "gldns/gbuffer.h"
+
+ #include <limits.h>
+-#include <strings.h>
++#include <stdlib.h>
+
+ gldns_lookup_table gldns_directive_types[] = {
+ { GLDNS_DIR_TTL, "$TTL" },
+diff --git a/src/gldns/parseutil.c b/src/gldns/parseutil.c
+index 293496a..bcd8e6f 100644
+--- a/src/gldns/parseutil.c
++++ b/src/gldns/parseutil.c
+@@ -14,8 +14,12 @@
+
+ #include "config.h"
+ #include "gldns/parseutil.h"
++#ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
++#endif
++#ifdef HAVE_TIME_H
+ #include <time.h>
++#endif
+ #include <ctype.h>
+
+ gldns_lookup_table *