X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bin%2Fvlc.c;h=3a15722d77e4f8094a75c27784026f8e1c368721;hb=951b94d3c2bc951fa942bf5c41594372a880d2d5;hp=5220618e07bfc4da03250d52e1f152218a1c7296;hpb=9305440a3d6c2daf576bcbfe5ab012896dfeb237;p=vlc diff --git a/bin/vlc.c b/bin/vlc.c index 5220618e07..3a15722d77 100644 --- a/bin/vlc.c +++ b/bin/vlc.c @@ -33,9 +33,7 @@ #include #include #include -#ifdef HAVE_X11_XLIB_H -# include -#endif + /* Explicit HACK */ extern void LocaleFree (const char *); @@ -84,15 +82,6 @@ int main( int i_argc, const char *ppsz_argv[] ) # endif #endif -#ifdef HAVE_X11_XLIB_H - /* Initialize Xlib thread support. */ - if (!XInitThreads ()) - { - fputs ("VLC requires a thread-safe Xlib. Sorry.\n", stderr); - return 1; - } -#endif - /* Synchronously intercepted POSIX signals. * * In a threaded program such as VLC, the only sane way to handle signals