diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-10-25 03:09:39 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2008-10-25 03:09:39 +0200 |
commit | 9c76df329017b8784ee96642150429a5136fb62b (patch) | |
tree | de266d66b4a834da208bac663c5b7bd68d7b3d5a | |
parent | 531f013a20fe58efa40c621d9a3d68727585a408 (diff) | |
download | gnulib-9c76df329017b8784ee96642150429a5136fb62b.tar.gz |
Use stdint.h, for int32_t.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/stdlib.in.h | 4 | ||||
-rw-r--r-- | modules/random_r | 1 |
3 files changed, 11 insertions, 0 deletions
@@ -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 |