summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-10-21 12:52:30 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:11 +0100
commited7d22829d82dba9714c6b7a5fdf37a95c05a269 (patch)
treea334e523e4dec1d52214730fe5bbdac0d4581a81
parenta988abd0be551c0c37fc20b49b233c8a22ebfe7a (diff)
don't include <sys/types.h> here
-rw-r--r--glob.c3
-rw-r--r--glom.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/glob.c b/glob.c
index 043f767..419a096 100644
--- 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
index 8bba4a0..ea6b432 100644
--- 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);