summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-26 03:18:31 +0200
committerDamien Miller <djm@mindrot.org>2000-09-26 03:18:31 +0200
commitb2033a41a171641e52cc7ed942d9928470a8bbd2 (patch)
treefff4c80111c78c123fa120f28acff29c76a63a8a /defines.h
parent - (djm) Update X11-askpass to 1.0.2 in RPM spec file (diff)
downloadopenssh-b2033a41a171641e52cc7ed942d9928470a8bbd2.tar.xz
openssh-b2033a41a171641e52cc7ed942d9928470a8bbd2.zip
- (djm) Define _REENTRANT
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 837ed0207..a8e2659c1 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 */