fixes from bengt for sun
This commit is contained in:
parent
caf12d8c5b
commit
0e4068e8c4
1 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
#include <u.h>
|
#include <u.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <sys/ioctl.h>
|
|
||||||
#if defined(PLAN9PORT) && defined(__sun__)
|
#if defined(PLAN9PORT) && defined(__sun__)
|
||||||
# define BSD_COMP /* sigh. for TIOCNOTTY */
|
# define BSD_COMP /* sigh. for TIOCNOTTY */
|
||||||
#endif
|
#endif
|
||||||
|
#include <sys/ioctl.h>
|
||||||
#include "rc.h"
|
#include "rc.h"
|
||||||
#include "getflags.h"
|
#include "getflags.h"
|
||||||
#include "exec.h"
|
#include "exec.h"
|
||||||
|
|
@ -115,7 +115,7 @@ main(int argc, char *argv[])
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* needed for rcmain later */
|
/* needed for rcmain later */
|
||||||
setenv("PLAN9", unsharp("#9"), 1);
|
putenv("PLAN9", unsharp("#9"));
|
||||||
|
|
||||||
argc=getflags(argc, argv, "srdiIlxepvVc:1m:1[command]", 1);
|
argc=getflags(argc, argv, "srdiIlxepvVc:1m:1[command]", 1);
|
||||||
if(argc==-1) usage("[file [arg ...]]");
|
if(argc==-1) usage("[file [arg ...]]");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue