summaryrefslogtreecommitdiff
path: root/examples/table-sort.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-03-31 21:48:15 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-03-31 21:48:15 +0000
commit524ebcef0bd7db2c821414ae7296dd3bb5dfaf9c (patch)
treec2a0db257ba471c25f7344639806b16815be16cc /examples/table-sort.cxx
parent8566b126c21d29fc540706210aaa91bc25abca6b (diff)
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
Diffstat (limited to 'examples/table-sort.cxx')
-rw-r--r--examples/table-sort.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/table-sort.cxx b/examples/table-sort.cxx
index 3a8fcb41a..2cbee1f51 100644
--- a/examples/table-sort.cxx
+++ b/examples/table-sort.cxx
@@ -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*/