summaryrefslogtreecommitdiff
path: root/tests/mpitests.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-12-03 08:50:32 +0000
committerWerner Koch <wk@gnupg.org>2008-12-03 08:50:32 +0000
commitff6027ea224259298a90606f0b1ea2a65afe9286 (patch)
treef044c8649ace172e1d090bdaf4d2985ef8e19cd2 /tests/mpitests.c
parent80e3857a2ca8f2577c40c6902adfa08bfb937ad9 (diff)
downloadlibgcrypt-ff6027ea224259298a90606f0b1ea2a65afe9286.tar.gz
Fix last moi-pow.c change.
Add some code to allow standalone builds of some test programs.
Diffstat (limited to 'tests/mpitests.c')
-rw-r--r--tests/mpitests.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/mpitests.c b/tests/mpitests.c
index ac936975..3ccfae00 100644
--- a/tests/mpitests.c
+++ b/tests/mpitests.c
@@ -27,8 +27,11 @@
#include <string.h>
#include <stdarg.h>
-#include "../src/gcrypt.h"
-
+#ifdef _GCRYPT_IN_LIBGCRYPT
+# include "../src/gcrypt.h"
+#else
+# include <gcrypt.h>
+#endif
static int verbose;
static int debug;