]> git.sesse.net Git - vlc/blobdiff - src/extras/getopt.c
Work around missing PF_LOCAL (fixes: #3027)
[vlc] / src / extras / getopt.c
index baf200960cf6655b1a09f5389ce0f8c328db3333..1dbcc89954036aeaa95a00a7a76908ac575e2c28 100644 (file)
@@ -33,6 +33,7 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
+#include <vlc_common.h>
 
 #if !defined (__STDC__) || !__STDC__
 /* This is a separate conditional since some stdc systems
@@ -92,7 +93,7 @@
    When compiling libc, the _ macro is predefined.  */
 #ifdef HAVE_LIBINTL_H
 #include <libintl.h>
-#define _(msgid)    gettext (msgid)
+#define _(msgid)    vlc_gettext (msgid)
 #else
 #define _(msgid)    (msgid)
 #endif