[vlc-commits] Freetype: include config.h before including VLC headers

Jean-Baptiste Kempf git at videolan.org
Fri May 1 19:47:07 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri May  1 19:46:49 2015 +0200| [41f8327281d227088c5676d5df4d518037134a88] | committer: Jean-Baptiste Kempf

Freetype: include config.h before including VLC headers

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

 modules/text_renderer/text_layout.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/text_renderer/text_layout.c b/modules/text_renderer/text_layout.c
index cb441d4..9226875 100644
--- a/modules/text_renderer/text_layout.c
+++ b/modules/text_renderer/text_layout.c
@@ -21,6 +21,10 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc_common.h>
 #include <vlc_filter.h>
 #include <vlc_text_style.h>



More information about the vlc-commits mailing list