test for #24
This commit is contained in:
parent
7ad9ab0da2
commit
f5b277548b
|
@ -881,6 +881,9 @@ if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
|
|||
EXTRASYSSRCS="$EXTRASYSSRCS ../dummy/clip_dummy.cpp"
|
||||
;;
|
||||
esac
|
||||
if [[ "$WANT_GTK" != "no" ]]; then
|
||||
LIBS="$LIBS -lX11"
|
||||
fi
|
||||
fi
|
||||
elif [[ "x$WANT_MACOSX_GUI" != "xyes" ]]; then
|
||||
VIDEOSRCS="video_x.cpp"
|
||||
|
|
|
@ -63,6 +63,7 @@ struct sigstate {
|
|||
# ifdef HAVE_GNOMEUI
|
||||
# include <gnome.h>
|
||||
# endif
|
||||
# include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_XF86_DGA
|
||||
|
@ -384,6 +385,9 @@ static void usage(const char *prg_name)
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifdef ENABLE_GTK
|
||||
XInitThreads();
|
||||
#endif
|
||||
const char *vmdir = NULL;
|
||||
char str[256];
|
||||
|
||||
|
|
Loading…
Reference in New Issue