(svn r22502) -Fix (r22501): WIN32 compilation

This commit is contained in:
glx 2011-05-28 03:23:34 +00:00
parent 6e3ef9fa1a
commit 986d5e950d
2 changed files with 2 additions and 3 deletions

View File

@ -17,6 +17,7 @@
#include "tar_type.h"
#ifdef WIN32
#include <windows.h>
# define access _taccess
#elif defined(__HAIKU__)
#include <Path.h>
#include <storage/FindDirectory.h>

View File

@ -19,9 +19,7 @@
#include "string_func.h"
#include <sys/stat.h>
#ifdef WIN32
# define access _taccess
#else
#ifndef WIN32
# include <unistd.h>
#endif /* WIN32 */