Merge pull request #101 from wsnipex/droid-fix

fix building on android
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2015-01-08 07:39:26 -08:00
commit 54f9ae78e9
1 changed files with 5 additions and 1 deletions

View File

@ -35,11 +35,15 @@ WSADATA wsaData;
#include <inttypes.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#ifndef AROS
#ifdef ANDROID
#define statvfs statfs
#include <sys/vfs.h>
#else
#include <sys/statvfs.h>
#endif
#endif
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>