diff options
author | Werner Koch <wk@gnupg.org> | 2021-04-19 20:17:39 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2021-04-19 20:17:39 +0200 |
commit | 5fe60576d50f7c857d0a865a9630212422fa1ad1 (patch) | |
tree | 0e7fb36baab36149a0bd8b8860a122703a693cb3 /tools/gpg-card.c | |
parent | build: Allow selection of TSS library. (diff) | |
download | gnupg2-5fe60576d50f7c857d0a865a9630212422fa1ad1.tar.xz gnupg2-5fe60576d50f7c857d0a865a9630212422fa1ad1.zip |
build: Fix build problems on macOS for gpgsm tests and gpg-card.
* tools/gpg-card.c: Include ctype.h.
* sm/Makefile.am (t_common_ldadd): Add LIBICONV.
--
GnuPG-bug-id: 5400
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r-- | tools/gpg-card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c index d9d626c5f..07e9232ec 100644 --- a/tools/gpg-card.c +++ b/tools/gpg-card.c @@ -22,6 +22,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <ctype.h> #ifdef HAVE_LIBREADLINE # define GNUPG_LIBREADLINE_H_INCLUDED # include <readline/readline.h> |