From 95fa60b71dceadffd65f8f135a89efb05a8d6fd7 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 10 Apr 2016 19:37:18 +0000 Subject: Rewrite Fl_get_system_colors.cxx under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_System_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL') diff --git a/FL/Fl_System_Driver.H b/FL/Fl_System_Driver.H index db3784d7b..0bcc7973b 100644 --- a/FL/Fl_System_Driver.H +++ b/FL/Fl_System_Driver.H @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -79,6 +80,7 @@ public: // implement these to support cross-platform file operations virtual char *utf2mbcs(const char *s) {return (char*)s;} virtual char *getenv(const char* v); + virtual int putenv(char* v) {return ::putenv(v);} virtual int open(const char* f, int oflags, int pmode) {return -1;} virtual FILE *fopen(const char* f, const char *mode) {return NULL;} virtual int system(const char* cmd) {return -1;} -- cgit v1.2.3