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 8cbd0ee08..ab3e1d94a 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 73589ade8..bf0afcb0f 100644 --- a/scd/scdaemon.h +++ b/scd/scdaemon.h @@ -44,6 +44,7 @@ /* A large struct name "opt" to keep global flags. */ +EXTERN_UNLESS_MAIN_MODULE struct { unsigned int debug; /* Debug flags (DBG_foo_VALUE). */ |