[Pkg-gnupg-commit] [gnupg2] 197/292: gpgscm: Fix inclusion of readline header.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Nov 21 06:31:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gnupg2.

commit 60ad1a7f37ffc10e601e69a3e2d2bb14af510257
Author: Justus Winter <justus at g10code.com>
Date:   Wed Nov 2 13:06:06 2016 +0100

    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 <justus at g10code.com>
---
 tests/gpgscm/ffi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gpgscm/ffi.c b/tests/gpgscm/ffi.c
index 8e21ba6..305b7a1 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list