summaryrefslogtreecommitdiffstats
path: root/gl/stdlib.in.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2009-05-19 22:32:10 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2009-05-19 22:32:10 (GMT)
commit50b3ff7b91e78a61aca93247bee586d6d7eb27c8 (patch)
treedb4c7eee24479ac7ee6888ce1562facf60159b71 /gl/stdlib.in.h
parent2701ccd500e60537a8c2977a81549ff33eeaef3f (diff)
downloadmonitoring-plugins-50b3ff7b91e78a61aca93247bee586d6d7eb27c8.tar.gz
Sync with the latest Gnulib code (cb75dc5)
Signed-off-by: Holger Weiss <holger@zedat.fu-berlin.de>
Diffstat (limited to 'gl/stdlib.in.h')
-rw-r--r--gl/stdlib.in.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gl/stdlib.in.h b/gl/stdlib.in.h
index 3820b10..f99767f 100644
--- a/gl/stdlib.in.h
+++ b/gl/stdlib.in.h
@@ -1,6 +1,6 @@
1/* A GNU-like <stdlib.h>. 1/* A GNU-like <stdlib.h>.
2 2
3 Copyright (C) 1995, 2001-2004, 2006-2008 Free Software Foundation, Inc. 3 Copyright (C) 1995, 2001-2004, 2006-2009 Free Software Foundation, Inc.
4 4
5 This program is free software: you can redistribute it and/or modify 5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
@@ -41,6 +41,12 @@
41# include <sys/loadavg.h> 41# include <sys/loadavg.h>
42#endif 42#endif
43 43
44/* OSF/1 5.1 declares 'struct random_data' in <random.h>, which is included
45 from <stdlib.h> if _REENTRANT is defined. Include it always. */
46#if @HAVE_RANDOM_H@
47# include <random.h>
48#endif
49
44#if @GNULIB_RANDOM_R@ || !@HAVE_STRUCT_RANDOM_DATA@ 50#if @GNULIB_RANDOM_R@ || !@HAVE_STRUCT_RANDOM_DATA@
45# include <stdint.h> 51# include <stdint.h>
46#endif 52#endif