From: H.G.Muller Date: Sat, 27 Feb 2016 19:50:27 +0000 (+0100) Subject: Fix bug #45773 (needless #inclusion of cairo-xlib.h) X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=1e6b0d38aeec6e039247a2a4906c49263e3af14f Fix bug #45773 (needless #inclusion of cairo-xlib.h) As this header no longer exists this was causing a compilation error. In the GTK version they are of course never needed, and the draw.c that is also part of an Xaw build also does not call any function to draw on an Xaw surface directly. --- diff --git a/draw.c b/draw.c index 01add14..b4f29f1 100644 --- a/draw.c +++ b/draw.c @@ -54,7 +54,6 @@ #include #include #include -#include #include #include #include diff --git a/gtk/xboard.c b/gtk/xboard.c index c05d5ab..328e08d 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -62,7 +62,6 @@ #include #include #include -#include #include #if !OMIT_SOCKETS diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 5880751..546790e 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -48,7 +48,6 @@ extern char *getenv(); #include #include -#include #include #include #ifdef OSXAPP