diff options
author | Simon Josefsson <simon@josefsson.org> | 2010-12-06 16:20:45 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2010-12-06 16:20:45 +0100 |
commit | 705bd41bc85effe81660de90acf10f65bb23977c (patch) | |
tree | 9f41b7bbe9b1f9416f94a46cfd995eb0db5c8774 /gl/stdlib.in.h | |
parent | 3ec531a07ddfaddacdef08af6d49abc0eb8d8edd (diff) | |
download | gnutls-705bd41bc85effe81660de90acf10f65bb23977c.tar.gz |
Update gnulib files.
Diffstat (limited to 'gl/stdlib.in.h')
-rw-r--r-- | gl/stdlib.in.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gl/stdlib.in.h b/gl/stdlib.in.h index 6fe75d330f..e6dcdbc841 100644 --- a/gl/stdlib.in.h +++ b/gl/stdlib.in.h @@ -61,6 +61,9 @@ #endif #if !@HAVE_STRUCT_RANDOM_DATA@ +/* Define 'struct random_data'. + But allow multiple gnulib generated <stdlib.h> replacements to coexist. */ +# if !GNULIB_defined_struct_random_data struct random_data { int32_t *fptr; /* Front pointer. */ @@ -71,6 +74,8 @@ struct random_data int rand_sep; /* Distance between front and rear. */ int32_t *end_ptr; /* Pointer behind state table. */ }; +# define GNULIB_defined_struct_random_data 1 +# endif #endif #if (@GNULIB_MKSTEMP@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) |