changeset 4660:887186a30605

fix compile time X11 detection with fltk-1.3.4+ This should fix "-x <window id>" when dillo is compiled with fltk-1.3.4. Reported-by: Arthur Huillet
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Fr, 15 Sep 2017 18:52:25 +0200
parents f4bea23749df
children 0cb3ef492f54
files src/xembed.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xembed.cc	So Jul 24 21:20:40 2016 +0200
+++ b/src/xembed.cc	Fr Sep 15 18:52:25 2017 +0200
@@ -18,7 +18,7 @@
 
 #include "xembed.hh"
 
-#ifdef X_PROTOCOL
+#if !(defined(WIN32) || defined(__APPLE__))
 #include <FL/x.H>
 
 typedef enum {