$NetBSD: patch-az,v 1.1 2004/03/16 23:59:42 danw Exp $ --- lib/Xm/Scale.c.orig Sat Mar 13 22:17:01 2004 +++ lib/Xm/Scale.c @@ -82,6 +82,9 @@ static char rcsid[] = "$TOG: Scale.c /ma extern "C" { /* some 'locale.h' do not have prototypes (sun) */ #endif #include +#ifdef __DARWIN__ +#include /* Xlocale.h doesn't define struct lconv */ +#endif #ifdef __cplusplus } /* Close scope of 'extern "C"' declaration */ #endif /* __cplusplus */