From 5fe60576d50f7c857d0a865a9630212422fa1ad1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 19 Apr 2021 20:17:39 +0200 Subject: 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 --- tools/gpg-card.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gpg-card.c') 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 #include #include +#include #ifdef HAVE_LIBREADLINE # define GNUPG_LIBREADLINE_H_INCLUDED # include -- cgit v1.2.3