diff options
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 61b26f1de..3eed4eba8 100644 --- a/common/util.h +++ b/common/util.h @@ -25,6 +25,11 @@ #include <errno.h> /* We need errno. */ #include <gpg-error.h> /* We need gpg_error_t. */ +/* Add error codes available only in newer versions of libgpg-error. */ +#ifndef GPG_ERR_NOT_ENABLED +#define GPG_ERR_NOT_ENABLED 179 +#endif + /* Hash function used with libksba. */ #define HASH_FNC ((void (*)(void *, const void*,size_t))gcry_md_write) |