mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 05:31:07 +08:00
Fix example programs after removal of some system #include's.
This adds missing headers that were previously included in other FLTK header files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
#include <FL/Fl_Button.H>
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/fl_draw.H>
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif // WIN32
|
||||
|
||||
/* Displays and follows the content of the clipboard with either image or text data
|
||||
*/
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <vector>
|
||||
#include <algorithm> // STL sort
|
||||
|
||||
@@ -45,7 +46,6 @@ static const char *G_header[] = { "Date", "Time", "Size", "Filename", "", "", ""
|
||||
# endif
|
||||
#else /*WIN32*/
|
||||
// UNIX
|
||||
# include <ctype.h>
|
||||
# define DIRCMD "ls -l"
|
||||
static const char *G_header[] = { "Perms", "#L", "Own", "Group", "Size", "Date", "", "", "Filename", 0 };
|
||||
#endif /*WIN32*/
|
||||
|
||||
Reference in New Issue
Block a user