Use stdint.h, for int32_t.
authorSimon Josefsson <simon@josefsson.org>
Sat, 25 Oct 2008 01:09:39 +0000 (03:09 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 25 Oct 2008 01:09:39 +0000 (03:09 +0200)
ChangeLog
lib/stdlib.in.h
modules/random_r

index 5581a61..a69786d 100644 (file)
--- 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
index b44703b..8d0add6 100644 (file)
 # include <sys/loadavg.h>
 #endif
 
+#if @GNULIB_RANDOM_R@
+# include <stdint.h>
+#endif
+
 /* The definition of GL_LINK_WARNING is copied here.  */
 
 
index ad5c0f5..55bf241 100644 (file)
@@ -7,6 +7,7 @@ m4/random_r.m4
 
 Depends-on:
 stdlib
+stdint
 
 configure.ac:
 gl_FUNC_RANDOM_R