Commit Diff


commit - 29ee83f08013da9a70666329a5b1d9d0ad86bf0c
commit + 7ce3f20d73df41eaed90f26741325c4d7e1c0013
blob - ae2aa8670a0ecbc68fe7bd254cc2e5f131ce73cb
blob + e9fb4440fb0c289928fb57185eae4eb61c64d8e7
--- src/cmd/rc/exec.c
+++ 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"