$NetBSD: patch-ad,v 1.1 2006/01/09 19:46:01 joerg Exp $ --- grap_lex.l.orig 2006-01-09 19:42:35.000000000 +0000 +++ grap_lex.l @@ -25,7 +25,7 @@ extern "C" { #include "grap_draw.h" #include "y.tab.h" -extern int errno; +#include #ifndef STRERROR_DECLARED #if HAVE_STRERROR