aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-11-02 12:06:06 +0000
committerJustus Winter <[email protected]>2016-11-02 12:06:06 +0000
commit60ad1a7f37ffc10e601e69a3e2d2bb14af510257 (patch)
tree2907e382d893ec2a63ea3992227b5ce01250853d
parentbuild: Fix misspelled dirmngr. (diff)
downloadgnupg-60ad1a7f37ffc10e601e69a3e2d2bb14af510257.tar.gz
gnupg-60ad1a7f37ffc10e601e69a3e2d2bb14af510257.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--tests/gpgscm/ffi.c1
1 files changed, 1 insertions, 0 deletions
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 <unistd.h>
#if HAVE_LIBREADLINE
+#define GNUPG_LIBREADLINE_H_INCLUDED
#include <readline/readline.h>
#include <readline/history.h>
#endif