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 /dirmngr/ks-engine-ldap.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 'dirmngr/ks-engine-ldap.c')
-rw-r--r-- | dirmngr/ks-engine-ldap.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 <string.h> #include <time.h> #include <unistd.h> -#ifdef HAVE_GETOPT_H -# include <getopt.h> -#endif #include <stdlib.h> #include <npth.h> |