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@g10code.com>
This commit is contained in:
Justus Winter 2016-11-02 13:06:06 +01:00
parent 5e693ddfbe
commit 60ad1a7f37
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include <unistd.h>
#if HAVE_LIBREADLINE
#define GNUPG_LIBREADLINE_H_INCLUDED
#include <readline/readline.h>
#include <readline/history.h>
#endif