changeset 10711:e161b51e4184

Use stdint.h, for int32_t.
author Simon Josefsson <simon@josefsson.org>
date Sat, 25 Oct 2008 03:09:39 +0200
parents 96f375209ac7
children 6071b628cb19
files ChangeLog lib/stdlib.in.h modules/random_r
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-24  Simon Josefsson  <simon@josefsson.org>
+            Bruno Haible  <bruno@clisp.org>
+
+	* lib/stdlib.in.h (@GNULIB_RANDOM_R@): Include stdint.h.
+	* modules/random_r (Depends-on): Add stdint.
+
 2008-10-24  Bruno Haible  <bruno@clisp.org>
 
 	* modules/intprops (License): Change to LGPLv2+, with approval by Paul
--- a/lib/stdlib.in.h
+++ b/lib/stdlib.in.h
@@ -41,6 +41,10 @@
 # include <sys/loadavg.h>
 #endif
 
+#if @GNULIB_RANDOM_R@
+# include <stdint.h>
+#endif
+
 /* The definition of GL_LINK_WARNING is copied here.  */
 
 
--- a/modules/random_r
+++ b/modules/random_r
@@ -7,6 +7,7 @@
 
 Depends-on:
 stdlib
+stdint
 
 configure.ac:
 gl_FUNC_RANDOM_R