$NetBSD: patch-ab,v 1.2 2005/06/19 20:44:06 minskim Exp $ --- defs.h.orig 2001-04-02 08:57:20.000000000 -0500 +++ defs.h @@ -5,8 +5,9 @@ #include #include #include -#include - +#include +#include +#include /* machine-dependent definitions */ @@ -242,8 +243,8 @@ extern int nvars; 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; @@ -291,8 +292,11 @@ extern short final_state; /* system variables */ +#ifdef NEED_ERRNO extern int errno; - +#else +#include +#endif /************************ ## PROTOTYPES