mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-13 12:41:50 +01:00
23 lines
420 B
Diff
23 lines
420 B
Diff
diff --git a/rand.h b/rand.h
|
|
index bc48674..c1e7bb3 100644
|
|
--- 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
|