summaryrefslogtreecommitdiffstats
path: root/gl/stdlib.in.h
diff options
context:
space:
mode:
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 3820b109..f99767f6 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