summaryrefslogtreecommitdiff
path: root/src/Fl_File_Chooser2.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-06 15:49:52 +0000
committerManolo Gouy <Manolo>2016-04-06 15:49:52 +0000
commitae0d15f1a3f133a2b2aa403c115b72819f1ac5ae (patch)
tree2e03716f4b145b75fea11fef0d0bba388c6c8712 /src/Fl_File_Chooser2.cxx
parentd905769e6912039a318cdccfe7cd6dc510d254d6 (diff)
Begin to rewrite files using #include <sys/stat.h> under the driver model.
struct stat is considered a platform-specific type. The Unix, Mac OS, and WIN32 platforms define it with #include <sys/stat.h> Other platforms may do that their own way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser2.cxx')
-rw-r--r--src/Fl_File_Chooser2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_File_Chooser2.cxx b/src/Fl_File_Chooser2.cxx
index fea0b3328..d592ff39f 100644
--- a/src/Fl_File_Chooser2.cxx
+++ b/src/Fl_File_Chooser2.cxx
@@ -344,6 +344,7 @@
//
#include <FL/Fl_File_Chooser.H>
+#include <FL/Fl_System_Driver.H> // for struct stat
#include <FL/filename.H>
#include <FL/fl_ask.H>
#include <FL/x.H>
@@ -355,7 +356,6 @@
#include "flstring.h"
#include <errno.h>
#include <sys/types.h>
-#include <sys/stat.h>
#if defined(WIN32) || defined(__APPLE__) // PORTME: Fl_Screen_Driver - platform file browser
#elif defined(FL_PORTING)