From 29d58e9de7838bcf32e358602abd4ed4498566f8 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 5 Aug 2021 14:01:14 +0900 Subject: build: Simplify for string.h and getopt.h. * configure.ac (AC_CHECK_HEADERS): Remove string.h and getopt.h. * dirmngr/ks-engine-ldap.c: Remove including getopt.h. * tools/make-dns-cert.c: Likewise. -- Checking string.h is supported by AC_HEADER_STDC. Use of getopt.h is only needed for getopt_long of GNU extention. Signed-off-by: NIIBE Yutaka --- tools/make-dns-cert.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/make-dns-cert.c') diff --git a/tools/make-dns-cert.c b/tools/make-dns-cert.c index 9a7e20d10..865364cb8 100644 --- a/tools/make-dns-cert.c +++ b/tools/make-dns-cert.c @@ -22,9 +22,6 @@ #endif #include -#ifdef HAVE_GETOPT_H -#include -#endif #include #include #include -- cgit v1.2.3