[vlc-devel] commit: We need xlocale.h here too ( Felix Paul Kühne )

git version control git at videolan.org
Fri May 23 14:53:00 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri May 23 14:54:30 2008 +0200| [3452c06ffe82acc737947e1842895e312789bd31]

We need xlocale.h here too

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3452c06ffe82acc737947e1842895e312789bd31
---

 src/config/file.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/config/file.c b/src/config/file.c
index c77c2bf..202f592 100644
--- a/src/config/file.c
+++ b/src/config/file.c
@@ -33,7 +33,11 @@
 #include <errno.h>                                                  /* errno */
 #include <assert.h>
 #include <limits.h>
+#ifdef __APPLE__
+#   include <xlocale.h>
+#else
 #include <locale.h>
+#endif
 
 #include "configuration.h"
 #include "modules/modules.h"




More information about the vlc-devel mailing list