summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Posix/Fl_Posix_System_Driver.cxx1
-rw-r--r--src/fl_shortcut.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Posix/Fl_Posix_System_Driver.cxx b/src/drivers/Posix/Fl_Posix_System_Driver.cxx
index 9cdf8c2dd..ee3c70fe4 100644
--- a/src/drivers/Posix/Fl_Posix_System_Driver.cxx
+++ b/src/drivers/Posix/Fl_Posix_System_Driver.cxx
@@ -19,6 +19,7 @@
#include "Fl_Posix_System_Driver.H"
#include <FL/Fl.H>
+#include <X11/Xlib.h>
extern XIC fl_xim_ic; // in Fl_x.cxx
diff --git a/src/fl_shortcut.cxx b/src/fl_shortcut.cxx
index e9ccec528..086319a10 100644
--- a/src/fl_shortcut.cxx
+++ b/src/fl_shortcut.cxx
@@ -44,6 +44,7 @@
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: implement keyboard shortcut handling here"
#else
+#include <X11/Xlib.h>
#endif
/**