aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/dns.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-12-22 01:36:26 +0000
committerNIIBE Yutaka <[email protected]>2021-12-22 01:36:26 +0000
commit6b4441a7de9d7090bb3b1570a12e1e8bce0554cb (patch)
treea0e1df1e93cea48e5c949d7a02799d639ce6600a /dirmngr/dns.c
parentpo: Update Japanese Translation. (diff)
downloadgnupg-6b4441a7de9d7090bb3b1570a12e1e8bce0554cb.tar.gz
gnupg-6b4441a7de9d7090bb3b1570a12e1e8bce0554cb.zip
build: Update for newer autoconf.
* configure.ac (AC_PREREQ): Use >= 2.69. (AC_CONFIG_HEADERS): Use it, instead of AC_CONFIG_HEADER. (AC_HEADER_STDC, AC_HEADER_TIME): Remove obsolete macros. (sys/time.h): Add the check of the header. (time_t): Don't use TIME_WITH_SYS_TIME. * acinclude.m4 (AC_HEADER_TIME): Don't require. Don't use TIME_WITH_SYS_TIME. * dirmngr/dns.c: Don't use TIME_WITH_SYS_TIME. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/dns.c')
-rw-r--r--dirmngr/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/dns.c b/dirmngr/dns.c
index 0296d6296..9afb6e358 100644
--- a/dirmngr/dns.c
+++ b/dirmngr/dns.c
@@ -56,7 +56,7 @@
#include <ws2tcpip.h>
typedef SOCKET socket_fd_t;
#define STDCALL __stdcall
-#ifdef TIME_WITH_SYS_TIME
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h> /* gettimeofday(2) */
#endif
#else