summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2015-12-14 13:59:43 +0000
committertb <tb@cvs.openbsd.org>2015-12-14 13:59:43 +0000
commit517e491fc9044fa1e891c6cbd7c0f3745e62b978 (patch)
treeab6b568bf76483e768bc1d59675149f2d6270092 /bin/ksh/lex.c
parent020dceaa8dc5af64d3f871bccfbd295cfe4b50e0 (diff)
Move system headers from sh.h to those files that actually need them.
ok mmcc@ a while ago
Diffstat (limited to 'bin/ksh/lex.c')
-rw-r--r--bin/ksh/lex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c
index 54901707a36..2836d9d928e 100644
--- a/bin/ksh/lex.c
+++ b/bin/ksh/lex.c
@@ -1,12 +1,15 @@
-/* $OpenBSD: lex.c,v 1.65 2015/12/14 06:09:43 mmcc Exp $ */
+/* $OpenBSD: lex.c,v 1.66 2015/12/14 13:59:42 tb Exp $ */
/*
* lexical analysis and source input
*/
#include <ctype.h>
+#include <errno.h>
#include <libgen.h>
+#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include "sh.h"