[vlc-commits] projectm: include locale headers.

Konstantin Pavlov git at videolan.org
Fri Oct 13 18:29:23 CEST 2017


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Fri Oct 13 19:28:38 2017 +0300| [5a4e2570c284159f0f943761e162c5b6f140c343] | committer: Konstantin Pavlov

projectm: include locale headers.

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

 modules/visualization/projectm.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index aee1ffb814..9f99e8bb02 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -36,6 +36,13 @@
 
 #include <libprojectM/projectM.hpp>
 
+#ifndef _WIN32
+# include <locale.h>
+#endif
+#ifdef HAVE_XLOCALE_H
+# include <xlocale.h>
+#endif
+
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/



More information about the vlc-commits mailing list