summaryrefslogtreecommitdiff
path: root/libc/stdlib/srand48.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/srand48.c')
-rw-r--r--libc/stdlib/srand48.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/srand48.c b/libc/stdlib/srand48.c
index a172d07a1..1dcdc14a7 100644
--- a/libc/stdlib/srand48.c
+++ b/libc/stdlib/srand48.c
@@ -17,6 +17,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define srand48_r __srand48_r
+
#include <stdlib.h>
/* Global state for non-reentrant functions. Defined in drand48-iter.c. */