From 687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 25 Oct 2003 18:00:28 +0000 Subject: Fixed last fix: Include stdio.h for snprintf prototype. Suggested by papadopo@shfj.cea.fr, fixes #gnupg/214. --- ChangeLog | 2 +- src/gpg-error.h | 1 - src/strerror.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e13f617..de269bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,6 @@ 2003-10-25 Werner Koch - * src/gpg-error.h: Include stdio.h for snprintf + * src/strerror.c: Include stdio.h for snprintf prototype. Suggested by papadopo@shfj.cea.fr, fixes #gnupg/214. 2003-10-11 Moritz Schulte 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 -#include #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 +#include #include #include -- cgit v1.2.3