aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scd/scdaemon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/scdaemon.h b/scd/scdaemon.h
index c8d78c88b..c59879448 100644
--- a/scd/scdaemon.h
+++ b/scd/scdaemon.h
@@ -26,6 +26,9 @@
#endif
#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_SCD
#include <gpg-error.h>
+#define map_assuan_err(a) \
+ map_assuan_err_with_source (GPG_ERR_SOURCE_DEFAULT, (a))
+
#include <errno.h>
#include <time.h>