$NetBSD: patch-az,v 1.2 2005/12/12 19:55:41 joerg Exp $ --- lib/Xm/Scale.c.orig 2005-12-02 18:31:33.000000000 +0100 +++ lib/Xm/Scale.c @@ -87,6 +87,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 */