From 60ad1a7f37ffc10e601e69a3e2d2bb14af510257 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 2 Nov 2016 13:06:06 +0100 Subject: [PATCH] gpgscm: Fix inclusion of readline header. * tests/gpgscm/ffi.c: Define magic macro to prevent the completion function from redefined. GnuPG-bug-id: 2824 Signed-off-by: Justus Winter --- tests/gpgscm/ffi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/gpgscm/ffi.c b/tests/gpgscm/ffi.c index 8e21ba6d3..305b7a135 100644 --- a/tests/gpgscm/ffi.c +++ b/tests/gpgscm/ffi.c @@ -35,6 +35,7 @@ #include #if HAVE_LIBREADLINE +#define GNUPG_LIBREADLINE_H_INCLUDED #include #include #endif