* move _all_ #include stuff into sh.h

* sort out #include stuff which isn't necessary on MirOS into compat.h
This commit is contained in:
tg
2005-10-25 19:53:29 +00:00
parent 91303fe9d1
commit 9b97d72d5e
13 changed files with 37 additions and 69 deletions

10
main.c
View File

@ -1,4 +1,4 @@
/** $MirOS: src/bin/mksh/main.c,v 1.28 2005/10/21 12:41:55 tg Exp $ */
/** $MirOS: src/bin/mksh/main.c,v 1.29 2005/10/25 19:53:28 tg Exp $ */
/* $OpenBSD: main.c,v 1.38 2005/03/30 17:16:37 deraadt Exp $ */
/* $OpenBSD: tty.c,v 1.8 2005/03/30 17:16:37 deraadt Exp $ */
/* $OpenBSD: io.c,v 1.21 2005/03/30 17:16:37 deraadt Exp $ */
@ -6,14 +6,8 @@
#define EXTERN /* define EXTERNs in sh.h */
#include "sh.h"
#include <sys/stat.h>
#include <ctype.h>
#include <pwd.h>
#if !HAVE_ARC4RANDOM
#include <time.h>
#endif
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.28 2005/10/21 12:41:55 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.29 2005/10/25 19:53:28 tg Exp $");
#define MKSH_VERSION "@(#)MIRBSD KSH R24 2005/10/21"