summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-26 12:18:31 +1100
committerDamien Miller <djm@mindrot.org>2000-09-26 12:18:31 +1100
commitb2033a41a171641e52cc7ed942d9928470a8bbd2 (patch)
treefff4c80111c78c123fa120f28acff29c76a63a8a
parent96f0c725fcaad49f6a5630f4d82e3902ef77e9f1 (diff)
- (djm) Define _REENTRANT
-rw-r--r--ChangeLog1
-rw-r--r--defines.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 61465841..520e4b21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
20000926
- (djm) Update X11-askpass to 1.0.2 in RPM spec file
+ - (djm) Define _REENTRANT
20000924
- (djm) Merged cleanup patch from Mark Miller <markm@swoon.net>
diff --git a/defines.h b/defines.h
index 837ed020..a8e2659c 100644
--- a/defines.h
+++ b/defines.h
@@ -1,6 +1,11 @@
#ifndef _DEFINES_H
#define _DEFINES_H
+/* Some platforms need this for the _r() functions */
+#ifndef _REENTRANT
+# define _REENTRANT 1
+#endif
+
/* Necessary headers */
#include <sys/types.h> /* For [u]intxx_t */