diff options
author | Simon Josefsson <simon@josefsson.org> | 2011-08-03 01:16:03 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2011-08-03 01:54:47 +0200 |
commit | ae155d81b9b0282e1fe2fdfc18f3bfa3ec6a5074 (patch) | |
tree | e66003dc5af9746fbe3b652414362cc704bc6de8 /gl/error.c | |
parent | 5ca16d756ababb14e31d09ac4f1c1514de2ff5b9 (diff) | |
download | gnutls-ae155d81b9b0282e1fe2fdfc18f3bfa3ec6a5074.tar.gz |
Update gnulib files. Fix syntax-check usage.
Diffstat (limited to 'gl/error.c')
-rw-r--r-- | gl/error.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/error.c b/gl/error.c index a2d1c1be33..7482baacfb 100644 --- a/gl/error.c +++ b/gl/error.c @@ -97,11 +97,15 @@ extern void __error_at_line (int status, int errnum, const char *file_name, /* The gnulib override of fcntl is not needed in this file. */ # undef fcntl -# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P +# if !HAVE_DECL_STRERROR_R # ifndef HAVE_DECL_STRERROR_R "this configure-time declaration test was not run" # endif +# if STRERROR_R_CHAR_P char *strerror_r (); +# else +int strerror_r (); +# endif # endif /* The calling program should define program_name and set it to the |