summaryrefslogtreecommitdiff
path: root/src/scandir_posix.c
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-07 15:10:30 +0000
committerManolo Gouy <Manolo>2016-04-07 15:10:30 +0000
commit23a60edb44d264887a398eef1b6346f8f24737e2 (patch)
treeae6920a8b002dd26240f560d61df84888ba3b4a5 /src/scandir_posix.c
parent406fcaf3053b2d8d9c8ea677c59667a7ec43a556 (diff)
Rewrite filename_list.cxx under the driver model.
One more platform-dependent type is necessary: struct dirent Create a new header file, FL/platform_types.h, to define all types whose definition is platform-dependent. This file is for C because it is included by scandir_XXX.c git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/scandir_posix.c')
-rw-r--r--src/scandir_posix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scandir_posix.c b/src/scandir_posix.c
index 64eaaf519..af33612e2 100644
--- a/src/scandir_posix.c
+++ b/src/scandir_posix.c
@@ -32,6 +32,7 @@
* http://womble.decadent.org.uk/readdir_r-advisory.html
*/
+#include <config.h>
#ifndef HAVE_PTHREAD
/* Switch system headers into POSIX.1-1990 mode */
# define _POSIX_SOURCE