aboutsummaryrefslogtreecommitdiffstats
path: root/util/strgutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/strgutil.c')
-rw-r--r--util/strgutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/strgutil.c b/util/strgutil.c
index 274f2cda8..ea3ddc29c 100644
--- a/util/strgutil.c
+++ b/util/strgutil.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#include <gcrypt.h>
#include "types.h"
#include "util.h"
#include "memory.h"
@@ -276,7 +277,7 @@ set_native_charset( const char *newset )
active_charset = ibm850_unicode;
}
else
- return G10ERR_GENERAL;
+ return GPGERR_GENERAL;
return 0;
}