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 --- dirmngr/ks-engine-ldap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'dirmngr/ks-engine-ldap.c') diff --git a/dirmngr/ks-engine-ldap.c b/dirmngr/ks-engine-ldap.c index 25f03c3f6..e0f8e6f7c 100644 --- a/dirmngr/ks-engine-ldap.c +++ b/dirmngr/ks-engine-ldap.c @@ -24,9 +24,6 @@ #include #include #include -#ifdef HAVE_GETOPT_H -# include -#endif #include #include -- cgit v1.2.3