aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-03-16 10:49:37 +0000
committerWerner Koch <[email protected]>2004-03-16 10:49:37 +0000
commitf8d44bc637a4c897fd4448de804ee08ae065e194 (patch)
tree03c71726ae3204c67c8dae3fbcdbd4b8c07376a6 /scd/apdu.c
parent* configure.ac (NEED_GPG_ERROR_VERSION): Set to 0.7. (diff)
downloadgnupg-f8d44bc637a4c897fd4448de804ee08ae065e194.tar.gz
gnupg-f8d44bc637a4c897fd4448de804ee08ae065e194.zip
*** empty log message ***
Diffstat (limited to '')
-rw-r--r--scd/apdu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index e5295f566..7843fd566 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -28,7 +28,9 @@
# include <opensc/opensc.h>
#endif
-#if GNUPG_MAJOR_VERSION == 1
+#if defined(GNUPG_SCD_MAIN_HEADER)
+#include GNUPG_SCD_MAIN_HEADER
+#elif GNUPG_MAJOR_VERSION == 1
/* This is used with GnuPG version < 1.9. The code has been source
copied from the current GnuPG >= 1.9 and is maintained over
there. */