aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2017-09-15 18:52:25 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2017-09-15 18:52:25 +0200
commit955ae99e316ce2fdf178199e80690747359d5e54 (patch)
treec9eefcb85dadcbff893e8052d2f5024f82a2185d
parent89a3621f776fe93a30ebeba681a550de933ef059 (diff)
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
-rw-r--r--src/xembed.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xembed.cc b/src/xembed.cc
index 53ea53c7..0780148a 100644
--- a/src/xembed.cc
+++ b/src/xembed.cc
@@ -18,7 +18,7 @@
#include "xembed.hh"
-#ifdef X_PROTOCOL
+#if !(defined(WIN32) || defined(__APPLE__))
#include <FL/x.H>
typedef enum {