aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-10-02 10:27:34 +0000
committerWerner Koch <[email protected]>2003-10-02 10:27:34 +0000
commitf194ebc782424053896734699c2fc70b5ff0f14a (patch)
tree1d3c6facb5cac6bd8497c2072ef84f5a580bea2b /g10/card-util.c
parent* command.c (cmd_getattr): New command GETATTR. (diff)
downloadgnupg-f194ebc782424053896734699c2fc70b5ff0f14a.tar.gz
gnupg-f194ebc782424053896734699c2fc70b5ff0f14a.zip
Fixes to make inclusion of card raleted source files into 1.3 easier.
Diffstat (limited to '')
-rw-r--r--g10/card-util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index 1028cd373..70518e9ce 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -25,14 +25,20 @@
#include <errno.h>
#include <assert.h>
+#if GNUPG_MAJOR_VERSION != 1
#include "gpg.h"
+#endif
#include "util.h"
#include "i18n.h"
#include "ttyio.h"
#include "status.h"
#include "options.h"
#include "main.h"
+#if GNUPG_MAJOR_VERSION == 1
+#include "cardglue.h"
+#else
#include "call-agent.h"
+#endif
#define CONTROL_D ('D' - 'A' + 1)