aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-07-13 03:54:01 +0000
committerrsc <devnull@localhost>2005-07-13 03:54:01 +0000
commit7ce3f20d73df41eaed90f26741325c4d7e1c0013 (patch)
treec7316ffa44befa280ef25108bfc39a1862426f79 /src/cmd/rc
parent29ee83f08013da9a70666329a5b1d9d0ad86bf0c (diff)
downloadplan9port-7ce3f20d73df41eaed90f26741325c4d7e1c0013.tar.gz
plan9port-7ce3f20d73df41eaed90f26741325c4d7e1c0013.tar.bz2
plan9port-7ce3f20d73df41eaed90f26741325c4d7e1c0013.zip
stupid sun
Diffstat (limited to 'src/cmd/rc')
-rw-r--r--src/cmd/rc/exec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c
index ae2aa867..e9fb4440 100644
--- a/src/cmd/rc/exec.c
+++ b/src/cmd/rc/exec.c
@@ -1,6 +1,9 @@
#include <u.h>
#include <signal.h>
#include <sys/ioctl.h>
+#if defined(PLAN9PORT) && defined(__sun__)
+# define BSD_COMP /* sigh. for TIOCNOTTY */
+#endif
#include "rc.h"
#include "getflags.h"
#include "exec.h"