This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU libidn".
http://git.savannah.gnu.org/cgit/libidn.git/commit/?id=ffa2d02131fd3a4598fa2436cd191a1fd40ea876 The branch, master has been updated via ffa2d02131fd3a4598fa2436cd191a1fd40ea876 (commit) from 673311b34f764460b46e2eff8bc0e025c9369499 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ffa2d02131fd3a4598fa2436cd191a1fd40ea876 Author: Simon Josefsson <[email protected]> Date: Fri Nov 25 10:02:27 2011 +0100 Get ssize_t from sys/types.h instead of unistd.h. Reported by Bruno Haible. ----------------------------------------------------------------------- Summary of changes: NEWS | 3 +++ lib/stringprep.h | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index d699f70..e96e9cd 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,9 @@ See the end for copying conditions. * Version 1.23 (unreleased) [?] +** stringprep.h: Now #include's sys/types.h instead of unistd.h for ssize_t. +Some systems (e.g., Mingw with MSVC 9) does not have unistd.h. + ** idn-free.h: Protect prototypes with 'extern "C"' marker. Reported by Bittner Ede <[email protected]>. diff --git a/lib/stringprep.h b/lib/stringprep.h index 9fcc068..34835e4 100644 --- a/lib/stringprep.h +++ b/lib/stringprep.h @@ -36,7 +36,7 @@ # endif # include <stddef.h> /* size_t */ -# include <unistd.h> /* ssize_t */ +# include <sys/types.h> /* ssize_t */ # include <idn-int.h> /* uint32_t */ # ifdef __cplusplus hooks/post-receive -- GNU libidn _______________________________________________ Libidn-commit mailing list [email protected] https://lists.gnu.org/mailman/listinfo/libidn-commit
