aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/apdu.c')
-rw-r--r--scd/apdu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index 254c74101..2df113c5e 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -42,12 +42,10 @@
#include "rapdu.h"
#endif /*USE_G10CODE_RAPDU*/
-#if defined(GNUPG_SCD_MAIN_HEADER)
-# include GNUPG_SCD_MAIN_HEADER
-#else /*!GNUPG_SCD_MAIN_HEADER*/
+#if defined(GNUPG_MAJOR_VERSION)
# include "scdaemon.h"
# include "../common/exechelp.h"
-#endif /*!GNUPG_SCD_MAIN_HEADER*/
+#endif /*GNUPG_MAJOR_VERSION*/
#include "../common/host2net.h"