diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-05-29 12:53:49 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-05-29 12:53:49 +0000 |
commit | 14959b87a7868b8591017204f0844a5d4bb29a42 (patch) | |
tree | f685e41abdfa80732cf331c96a58b6b56ef70970 /usr.bin/make/dir.c | |
parent | b6985ed543fc10d606789bf3477ec48cc4a3bf2d (diff) |
Take includes out of lst.h, re-add what's needed to separate files.
Removes remaining lint stuff from lst.lib.
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index 1f86296fd61..389de38d864 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: dir.c,v 1.33 2001/05/27 08:34:10 espie Exp $ */ +/* $OpenBSD: dir.c,v 1.34 2001/05/29 12:53:39 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* @@ -66,11 +66,14 @@ * SUCH DAMAGE. */ +#include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> +#include <limits.h> #include <stddef.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include "config.h" #include "defines.h" @@ -603,7 +606,7 @@ DirExpandCurlyi(word, endw, path, expansions) for (;;) { char *file; /* To hold current expansion */ - const char *cp; + const char *cp; /* Current position in brace clause */ /* Find the end of the current expansion */ for (bracelevel = 0, cp = start; |