summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-27 18:00:50 +1000
committerDamien Miller <djm@mindrot.org>1999-10-27 18:00:50 +1000
commit726a5b3be128911d2f38f73a6a8c9be6dde9bb3a (patch)
tree422e9013bbc44892839f8a9bca1f718a551a15ea
parentd4a8b7e34dd619a4debf9a206c81db26d1402ea6 (diff)
Added compatibility macros
-rw-r--r--includes.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index 862dbd64..8fa174bd 100644
--- a/includes.h
+++ b/includes.h
@@ -75,4 +75,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
client program. Socketpairs do not seem to work on all systems. */
#define USE_PIPES 1
+#ifndef SHUT_RD
+#define SHUT_RD 0
+#define SHUT_WR 1
+#define SHUT_RDWR 2
+#endif /* SHUT_RD */
+
#endif /* INCLUDES_H */