pkgsrc/x11/openmotif/patches/patch-az
2005-12-12 19:55:41 +00:00

14 lines
481 B
Text

$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 <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 */