aboutsummaryrefslogtreecommitdiffstats
path: root/g10/iso7816.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/iso7816.h')
-rw-r--r--g10/iso7816.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/iso7816.h b/g10/iso7816.h
index 99c4a8ed8..26b8d6aba 100644
--- a/g10/iso7816.h
+++ b/g10/iso7816.h
@@ -21,7 +21,9 @@
#ifndef ISO7816_H
#define ISO7816_H
+#if GNUPG_MAJOR_VERSION == 1
#include "cardglue.h"
+#endif
gpg_error_t iso7816_select_application (int slot,
const char *aid, size_t aidlen);