diff options
author | NIIBE Yutaka <[email protected]> | 2021-08-05 05:01:14 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-08-05 05:01:14 +0000 |
commit | 29d58e9de7838bcf32e358602abd4ed4498566f8 (patch) | |
tree | 4a9334b5cdd43535e86c3039c159c05b1655789d /tools/make-dns-cert.c | |
parent | sm: Fix pwri. (diff) | |
download | gnupg-29d58e9de7838bcf32e358602abd4ed4498566f8.tar.gz gnupg-29d58e9de7838bcf32e358602abd4ed4498566f8.zip |
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 <[email protected]>
Diffstat (limited to 'tools/make-dns-cert.c')
-rw-r--r-- | tools/make-dns-cert.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 <unistd.h> -#ifdef HAVE_GETOPT_H -#include <getopt.h> -#endif #include <stdio.h> #include <stdlib.h> #include <string.h> |