$NetBSD: patch-ab,v 1.1.1.1 2001/07/01 14:39:15 taca Exp $

--- defs.h.orig	Thu Nov  2 01:29:07 2000
+++ defs.h
@@ -6,7 +6,8 @@
 #include <ctype.h>
 #include <stdio.h>
 #include <malloc.h>
-
+#include <unistd.h>
+#include <unistd.h>
 
 
 /*  machine-dependent definitions			*/
@@ -241,8 +242,8 @@
 extern int ntags;
 
 extern char unionized;
-extern char line_format[];
-extern char jline_format[];/*rwj*/
+extern const char *line_format;
+extern const char *jline_format;/*rwj*/
 
 extern int   start_symbol;
 extern char  **symbol_name;
@@ -290,8 +291,11 @@
 
 /* system variables */
 
+#ifdef NEED_ERRNO
 extern int errno;
-
+#else
+#include <errno.h>
+#endif
 
 /************************
 ## PROTOTYPES
