[vlc-devel] commit: messages: compilation fix for OS X ( Felix Paul Kühne )

git version control git at videolan.org
Sun Feb 7 12:59:24 CET 2010


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Feb  7 12:59:09 2010 +0100| [0ce5cde71c02b1edfb449ebf2ec239d94083b829] | committer: Felix Paul Kühne 

messages: compilation fix for OS X

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

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

diff --git a/src/misc/messages.c b/src/misc/messages.c
index becda01..764d373 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -35,7 +35,11 @@
 #include <vlc_common.h>
 
 #include <stdarg.h>                                       /* va_list for BSD */
+#ifdef __APPLE__
+#include <xlocale.h>
+#else
 #include <locale.h>
+#endif
 #include <errno.h>                                                  /* errno */
 
 #ifdef WIN32




More information about the vlc-devel mailing list