From 8ee4c7303f4e075674f3d02140f84ae3e7bb4d04 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 29 Mar 2016 06:12:12 +0000 Subject: [PATCH] Begin to clean fl_utf8.h from its platform-dependent content. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11457 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/fl_utf8.h | 2 +- src/drivers/Posix/Fl_Posix_System_Driver.cxx | 1 + src/fl_shortcut.cxx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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 # if defined(FL_LIBRARY) /* don't expose X11 headers in user space */ # include -# include +//# include # endif /* defined(FL_LIBRARY) -- don't expose X11 headers in user space */ # include # 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 +#include 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 #endif /**