* lib/stdlib.in.h: For random_r, include <stdint.h> always.
* modules/random_r (Depends-on): Depend on 'stdint' always.
+2023-04-05 Bruno Haible <bruno@clisp.org>
+
+ random_r: Fix compilation error on Haiku.
+ * lib/stdlib.in.h: For random_r, include <stdint.h> always.
+ * modules/random_r (Depends-on): Depend on 'stdint' always.
+
2023-04-05 Bruno Haible <bruno@clisp.org>
forkpty, openpty, login_tty: Fix link errors of the tests.
/* A GNU-like <stdlib.h>.
- Copyright (C) 1995, 2001-2004, 2006-2022 Free Software Foundation, Inc.
+ Copyright (C) 1995, 2001-2004, 2006-2023 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
# include <random.h>
# endif
-# if !@HAVE_STRUCT_RANDOM_DATA@ || @REPLACE_RANDOM_R@ || !@HAVE_RANDOM_R@
-# include <stdint.h>
-# endif
+# include <stdint.h>
# if !@HAVE_STRUCT_RANDOM_DATA@
/* Define 'struct random_data'.
c99
libc-config [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
stdlib
-stdint [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
+stdint
configure.ac:
gl_FUNC_RANDOM_R