This commit is contained in:
kanjitalk755 2020-01-31 23:31:38 +09:00
parent 7ad9ab0da2
commit f5b277548b
2 changed files with 7 additions and 0 deletions

View File

@ -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"

4
BasiliskII/src/Unix/main_unix.cpp Normal file → Executable file
View File

@ -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];