]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Include <libintl.h> only when really needed
[vlc] / src / libvlc.c
index 75041c14d76d875a6f29734467fe7009543b6b8d..f6d6be839f313499ff001b9a2ad2b00482855994 100644 (file)
 #   include <locale.h>
 #endif
 
+#ifdef ENABLE_NLS
+# undef gettext
+# include <libintl.h> /* bindtextdomain */
+#endif
+
 #ifdef HAVE_DBUS
 /* used for one-instance mode */
 #   include <dbus/dbus.h>