diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/gpg-error.h | 1 | ||||
-rw-r--r-- | src/strerror.c | 1 |
3 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ 2003-10-25 Werner Koch <[email protected]> - * src/gpg-error.h: Include stdio.h for snprintf + * src/strerror.c: Include stdio.h for snprintf prototype. Suggested by [email protected], fixes #gnupg/214. 2003-10-11 Moritz Schulte <[email protected]> diff --git a/src/gpg-error.h b/src/gpg-error.h index 6fbb095..5f92564 100644 --- a/src/gpg-error.h +++ b/src/gpg-error.h @@ -22,7 +22,6 @@ #define GPG_ERROR_H 1 #include <stddef.h> -#include <stdio.h> #ifdef __GNUC__ #define GPG_ERR_INLINE __inline__ diff --git a/src/strerror.c b/src/strerror.c index dd6a6b3..410c4ab 100644 --- a/src/strerror.c +++ b/src/strerror.c @@ -23,6 +23,7 @@ #endif #include <stdlib.h> +#include <stdio.h> #include <string.h> #include <errno.h> |