Small fix so it compiles on OS/X (Darwin), access() needed header file.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2237 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Bill Spitzak 2002-05-16 08:01:12 +00:00
parent 8fd4b107da
commit 3654682476

View File

@ -1,5 +1,5 @@
// //
// "$Id: Fl_Preferences.cxx,v 1.1.2.11 2002/05/15 19:45:38 easysw Exp $" // "$Id: Fl_Preferences.cxx,v 1.1.2.12 2002/05/16 08:01:12 spitzak Exp $"
// //
// Preferences methods for the Fast Light Tool Kit (FLTK). // Preferences methods for the Fast Light Tool Kit (FLTK).
// //
@ -38,6 +38,7 @@
# include <direct.h> # include <direct.h>
#elif defined (__APPLE__) #elif defined (__APPLE__)
# include <Carbon/Carbon.H> # include <Carbon/Carbon.H>
# include <unistd.h>
#else #else
# include <unistd.h> # include <unistd.h>
#endif #endif
@ -1080,5 +1081,5 @@ char Fl_Preferences::Node::remove()
// //
// End of "$Id: Fl_Preferences.cxx,v 1.1.2.11 2002/05/15 19:45:38 easysw Exp $". // End of "$Id: Fl_Preferences.cxx,v 1.1.2.12 2002/05/16 08:01:12 spitzak Exp $".
// //