rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit ed7d22829d82dba9714c6b7a5fdf37a95c05a269
parent a988abd0be551c0c37fc20b49b233c8a22ebfe7a
Author: tgoodwin <tgoodwin>
Date:   Wed, 21 Oct 1998 12:52:30 +0000

don't include <sys/types.h> here

Diffstat:
Mglob.c | 3+--
Mglom.c | 4++--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/glob.c b/glob.c @@ -1,8 +1,7 @@ /* glob.c: rc's (ugly) globber. This code is not elegant, but it works */ -#include <sys/types.h> -#include <sys/stat.h> #include "rc.h" +#include <sys/stat.h> /* Lifted from autoconf documentation.*/ #if HAVE_DIRENT_H diff --git a/glom.c b/glom.c @@ -1,10 +1,10 @@ /* glom.c: builds an argument list out of words, variables, etc. */ -#include <sys/types.h> +#include "rc.h" + #include <sys/stat.h> #include <signal.h> #include <errno.h> -#include "rc.h" static List *backq(Node *, Node *); static List *bqinput(List *, int);