summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2011-02-05 17:09:21 +0000
committerGreg Ercolano <erco@seriss.com>2011-02-05 17:09:21 +0000
commitb4e27fb9436986b1ebded7e05fbf37fbc796c5c9 (patch)
treec45ad525807c85d6c8aa76191604dcf3ae0ae171 /FL
parente567a23563d551bc509caeb0ebddf79690f97efd (diff)
Prevent loading of unistd.h on WIN32 platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Native_File_Chooser_FLTK.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Native_File_Chooser_FLTK.H b/FL/Fl_Native_File_Chooser_FLTK.H
index 5176ab77d..1ae6c3b33 100644
--- a/FL/Fl_Native_File_Chooser_FLTK.H
+++ b/FL/Fl_Native_File_Chooser_FLTK.H
@@ -30,7 +30,9 @@
Fl_Native_File_Chooser widget. */
#include <FL/Fl_File_Chooser.H>
+#ifndef WIN32
#include <unistd.h> // _POSIX_NAME_MAX
+#endif /*WIN32*/
/**
This class lets an FLTK application easily and consistently access