diff options
Diffstat (limited to 'scd')
-rw-r--r-- | scd/scdaemon.c | 1 | ||||
-rw-r--r-- | scd/scdaemon.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 1796db386..942944f38 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -37,6 +37,7 @@ #include <signal.h> #include <npth.h> +#define INCLUDED_BY_MAIN_MODULE 1 #define GNUPG_COMMON_NEED_AFLOCAL #include "scdaemon.h" #include <ksba.h> diff --git a/scd/scdaemon.h b/scd/scdaemon.h index 1c46d673a..391f16578 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -46,6 +46,7 @@ /* A large struct name "opt" to keep global flags. */ +EXTERN_UNLESS_MAIN_MODULE struct { unsigned int debug; /* Debug flags (DBG_foo_VALUE). */ |