summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-25 03:09:39 +0200
committerBruno Haible <bruno@clisp.org>2008-10-25 03:09:39 +0200
commit9c76df329017b8784ee96642150429a5136fb62b (patch)
treede266d66b4a834da208bac663c5b7bd68d7b3d5a
parent531f013a20fe58efa40c621d9a3d68727585a408 (diff)
downloadgnulib-9c76df329017b8784ee96642150429a5136fb62b.tar.gz
Use stdint.h, for int32_t.
-rw-r--r--ChangeLog6
-rw-r--r--lib/stdlib.in.h4
-rw-r--r--modules/random_r1
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5581a61bfc..a69786dc53 100644
--- 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
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h
index b44703bce3..8d0add62c4 100644
--- 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. */
diff --git a/modules/random_r b/modules/random_r
index ad5c0f5431..55bf241a4b 100644
--- a/modules/random_r
+++ b/modules/random_r
@@ -7,6 +7,7 @@ m4/random_r.m4
Depends-on:
stdlib
+stdint
configure.ac:
gl_FUNC_RANDOM_R