summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_System_Driver.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H
index 5073be7ec..db3784d7b 100644
--- a/FL/Fl_System_Driver.H
+++ b/FL/Fl_System_Driver.H
@@ -30,6 +30,7 @@
#include <FL/Fl_Preferences.H>
#include <stdio.h>
#include <stdarg.h>
+#include <string.h>
class Fl_File_Icon;
class Fl_File_Browser;
@@ -147,6 +148,8 @@ public:
virtual void *dlopen(const char *filename) {return NULL;}
// the default implementation is most probably enough
virtual void png_extra_rgba_processing(unsigned char *array, int w, int h) {}
+ // the default implementation is most probably enough
+ virtual const char *next_dir_sep(const char *start) { return strchr(start, '/');}
};
#endif // FL_SYSTEM_DRIVER_H