diff options
author | Werner Koch <[email protected]> | 2003-10-25 18:00:28 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-10-25 18:00:28 +0000 |
commit | 687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682 (patch) | |
tree | e84151cfc6792ecd271c35102d898d816999d716 | |
parent | Include stdio.h for snprintf (diff) | |
download | libgpg-error-687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682.tar.gz libgpg-error-687f7c7e7f9a90c85f0b6cec6b01df5cd61f8682.zip |
Fixed last fix:
Include stdio.h for snprintf
prototype. Suggested by [email protected], fixes #gnupg/214.
-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> |