$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 <X11/Xlocale.h>
+#ifdef __DARWIN__
+#include <locale.h> /* Xlocale.h doesn't define struct lconv */
+#endif
 #ifdef __cplusplus
 } /* Close scope of 'extern "C"' declaration */
 #endif /* __cplusplus */
