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 #include #include +#if defined(PLAN9PORT) && defined(__sun__) +# define BSD_COMP /* sigh. for TIOCNOTTY */ +#endif #include "rc.h" #include "getflags.h" #include "exec.h"