summaryrefslogtreecommitdiff
path: root/x11/openmotif/patches/patch-az
blob: dd2de9f6cc5fc3c53d0872fa587ed31c910fd229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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 */