* Preamble
*****************************************************************************/
#include <errno.h> /* ENOMEM */
-#include <string.h> /* strerror() */
-#include <stdio.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <vlc/vlc.h>
#include <vlc_interface.h>
add_shortcut( "wxwin" );
add_shortcut( "wx" );
add_shortcut( "wxwidgets" );
- set_program( "wxvlc" );
add_bool( "wx-embed", 1, NULL,
EMBED_TEXT, EMBED_LONGTEXT, VLC_FALSE );
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
/* Test in we have an X*/
-#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11)
+#if defined HAVE_GETENV && (defined __WXGTK__ || defined __WXX11)
if( !getenv( "DISPLAY" ) )
{
msg_Err( p_intf, "no X server");