summaryrefslogtreecommitdiffstats
path: root/yacc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'yacc/main.c')
-rw-r--r--yacc/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/yacc/main.c b/yacc/main.c
index ab74603bb..373f16f33 100644
--- a/yacc/main.c
+++ b/yacc/main.c
@@ -16,6 +16,9 @@
#include <signal.h>
#include <string.h>
#include "defs.h"
+#ifdef HAS_UNISTD
+#include <unistd.h>
+#endif
char dflag;
char lflag;