From 53859c584f203b11b9a3a9cd5600e938421f2f36 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 2 Mar 2016 00:54:37 +0000 Subject: Add support for SDL as a base library on OS X. This commit adds the basic setup in CMake to allow SDL as a base library for FLTK on OS X (and probably for other platforms as well). The SDL library driver set is derived from yet another new driver set named 'Pico'. 'Pico' is a base class for a driver that will allow porting of FLTK with the tinyest amount of effort. This implementation of the SDL driver shall be documented very well to explain the porting process. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/utf8Utils.c | 2 ++ src/xutf8/utf8Wrap.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/xutf8') diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c index 41343f459..9be6f8607 100644 --- a/src/xutf8/utf8Utils.c +++ b/src/xutf8/utf8Utils.c @@ -14,6 +14,8 @@ * http://www.fltk.org/str.php */ +#include + #if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */ #elif defined(FL_PORTING) # pragma message "FL_PORTING: utf8" diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c index 27e048cfe..d7321b289 100644 --- a/src/xutf8/utf8Wrap.c +++ b/src/xutf8/utf8Wrap.c @@ -14,6 +14,8 @@ * http://www.fltk.org/str.php */ +#include + #if defined(WIN32) || defined(__APPLE__) /* PORTME: Fl_Screen_Driver - platform unicode */ #elif defined(FL_PORTING) # pragma message "FL_PORTING: utf8" -- cgit v1.2.3