@@ -16,12 +16,16 @@ #include "config.h" #include -#include -#include +#ifdef HAVE_FCNTL_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif #include "platform.h" #ifdef OF_WII # define BOOL OGC_BOOL