summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H1
-rw-r--r--FL/platform_types.h2
-rw-r--r--FL/porting.H1
3 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index da2baf7de..aa0e43cb1 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -70,6 +70,7 @@ class FL_EXPORT Fl_Window : public Fl_Group {
friend class Fl_X;
friend class Fl_Window_Driver;
friend class Fl_PicoAndroid_Window_Driver;
+ friend class Fl_PicoSDL_Window_Driver;
Fl_X *i; // points at the system-specific stuff, but exists only after the window is mapped
Fl_Window_Driver *pWindowDriver; // points at the system-specific stuff at window creation time
diff --git a/FL/platform_types.h b/FL/platform_types.h
index d2308be09..e8fbe86ca 100644
--- a/FL/platform_types.h
+++ b/FL/platform_types.h
@@ -64,7 +64,7 @@ struct dirent {char d_name[1];};
# pragma message "FL_PORTING: define struct stat and implement stat() for the platform"
struct stat { /* the FLTK source code uses part of the stat() API */
unsigned st_mode;
- off_t st_size;
+ unsigned st_size;
};
#define S_IFMT 0170000 /* type of file */
#define S_IFDIR 0040000 /* directory */
diff --git a/FL/porting.H b/FL/porting.H
index c9c68b2e7..59d48e6fa 100644
--- a/FL/porting.H
+++ b/FL/porting.H
@@ -38,7 +38,6 @@ typedef void *Fl_Region;
typedef void *Fl_Offscreen;
# include "Fl_Window.H"
-# include "../src/Fl_Font.H"
// Some random X equivalents
struct XPoint { int x, y; };