-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[getdns] update to 1.7.3 #34188
[getdns] update to 1.7.3 #34188
Changes from 3 commits
dc14095
5fd54d8
c1f2139
098761b
baafd3f
a8da7e6
1038154
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would like to see what happens with getdnsapi/getdns#538 before proceeding here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, upstream has had a couple months to respond and they have not so I think you can proceed but please evaluate just taking that patch submitted upstream. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
#include <sys/time.h> | ||
+#endif | ||
+#ifdef HAVE_TIME_H | ||
#include <time.h> | ||
+#endif | ||
#include <ctype.h> | ||
|
||
gldns_lookup_table * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be removable from the patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just has removed