aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-support.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-12-12 12:57:19 +0000
committerWerner Koch <[email protected]>2015-12-12 13:06:30 +0000
commitf0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd (patch)
tree62029595b10924dbb5dc437d008264590e2a7611 /common/t-support.h
parentgpg: Fix buffer overflow. (diff)
downloadgnupg-f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd.tar.gz
gnupg-f0ae40b0c901e5f5c04c6ed5b2ab96ab7340b2bd.zip
Remove replacements for libgpg-error < 1.21.
* common/util.h: Remove replacement macros for libgpg-error<1.21. * common/types.h: Ditto. * common/mischelp.h: Ditto. * common/t-mapstrings.c: Include t-support.h before stringhelp.h * common/t-stringhelp.c: Ditto. * common/t-support.h: Always include gpg-error.h. * kbx/keybox-search.c: Do not include stringhelp.h so that keybox-defs comes first. -- This patch enhances commit d6e0149 from Dec 10. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--common/t-support.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/t-support.h b/common/t-support.h
index 8ff28100a..cda675976 100644
--- a/common/t-support.h
+++ b/common/t-support.h
@@ -38,9 +38,7 @@
#include <stdlib.h>
#include <stdio.h>
-#ifdef HAVE_W32CE_SYSTEM
-#include <gpg-error.h> /* Defines strerror. */
-#endif
+#include <gpg-error.h>
#ifndef HAVE_GETENV