aboutsummaryrefslogtreecommitdiffstats
path: root/scd/iso7816.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/iso7816.c')
-rw-r--r--scd/iso7816.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/scd/iso7816.c b/scd/iso7816.c
index b09354f16..954aa3d4a 100644
--- a/scd/iso7816.c
+++ b/scd/iso7816.c
@@ -23,11 +23,9 @@
#include <stdlib.h>
#include <string.h>
-#if defined(GNUPG_SCD_MAIN_HEADER)
-# include GNUPG_SCD_MAIN_HEADER
-#else
+#if defined(GNUPG_MAJOR_VERSION)
# include "scdaemon.h"
-#endif /*!GNUPG_SCD_MAIN_HEADER*/
+#endif /*GNUPG_MAJOR_VERSION*/
#include "iso7816.h"
#include "apdu.h"