blob: f14c77e09766d5acd8cc7d8d6be4ff209a7b3c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
https://bugs.gentoo.org/713622
--- a/rand.h
+++ b/rand.h
@@ -20,15 +20,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef HAVE_STDINT_H
-# include "stdint.h"
-#else
-# ifndef LINUX
-# define u_int32_t uint32_t
-# endif
-#endif
+#include <stdint.h>
-typedef u_int32_t u_rand_t;
+typedef uint32_t u_rand_t;
#ifndef UINT32_MAX
# define UINT32_MAX ULONG_MAX
|