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 5581a61bfc82f78fe5bcf3e3501ab88be05fa7e9..a69786dc53b23afe93aa82459a0be28185b4bf08 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 b44703bce31933e20a49f70f23a7147435354749..8d0add62c45d9192d613bad5c0530928bd1832e5 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 ad5c0f54317c94457d6f53a7d1e05b65c2f91e4e..55bf241a4b931fbe642691e63055f2957f216f8b 100644 (file)
@@ -7,6 +7,7 @@ m4/random_r.m4
 
 Depends-on:
 stdlib
+stdint
 
 configure.ac:
 gl_FUNC_RANDOM_R