From 9c76df329017b8784ee96642150429a5136fb62b Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sat, 25 Oct 2008 03:09:39 +0200 Subject: [PATCH] Use stdint.h, for int32_t. --- ChangeLog | 6 ++++++ lib/stdlib.in.h | 4 ++++ modules/random_r | 1 + 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5581a61bf..a69786dc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-24 Simon Josefsson + Bruno Haible + + * lib/stdlib.in.h (@GNULIB_RANDOM_R@): Include stdint.h. + * modules/random_r (Depends-on): Add stdint. + 2008-10-24 Bruno Haible * modules/intprops (License): Change to LGPLv2+, with approval by Paul diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index b44703bce..8d0add62c 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h @@ -41,6 +41,10 @@ # include #endif +#if @GNULIB_RANDOM_R@ +# include +#endif + /* The definition of GL_LINK_WARNING is copied here. */ diff --git a/modules/random_r b/modules/random_r index ad5c0f543..55bf241a4 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 -- 2.11.0