diff options
| -rw-r--r-- | FL/fl_utf8.h | 2 | ||||
| -rw-r--r-- | src/drivers/Posix/Fl_Posix_System_Driver.cxx | 1 | ||||
| -rw-r--r-- | src/fl_shortcut.cxx | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index fe23fe93f..88ee4f035 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -76,7 +76,7 @@ # include <sys/stat.h> # if defined(FL_LIBRARY) /* don't expose X11 headers in user space */ # include <X11/Xlocale.h> -# include <X11/Xlib.h> +//# include <X11/Xlib.h> # endif /* defined(FL_LIBRARY) -- don't expose X11 headers in user space */ # include <locale.h> # define xchar unsigned short 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 /** |
