$NetBSD: patch-an,v 1.2 2008/01/10 21:42:54 adam Exp $ --- src/gq.c.orig 2008-01-10 22:31:56.000000000 +0100 +++ src/gq.c @@ -32,6 +32,10 @@ # include #endif /* HAVE_CONFIG_H */ +#ifdef HAVE_LOCALE_H +# include +#endif /* HAVE_LOCALE_H */ + #ifdef DEBUG # include "debug.h" # ifdef HAVE_MCHECK