summaryrefslogtreecommitdiff
path: root/defines.h
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 /defines.h
parent96f0c725fcaad49f6a5630f4d82e3902ef77e9f1 (diff)
downloadopenssh-git-b2033a41a171641e52cc7ed942d9928470a8bbd2.tar.gz
- (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 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 */