Unverified Commit 2b8a05cc by Edward Thomson Committed by GitHub

Merge pull request #5086 from jacquesg/netbsd

Restore NetBSD support
parents 7a0238b1 d668820d
...@@ -157,7 +157,7 @@ int p_rename(const char *from, const char *to) ...@@ -157,7 +157,7 @@ int p_rename(const char *from, const char *to)
int p_fallocate(int fd, off_t offset, off_t len) int p_fallocate(int fd, off_t offset, off_t len)
{ {
#ifdef __APPLE__ #if defined (__APPLE__) || (defined (__NetBSD__) && __NetBSD_Version__ < 700000000)
fstore_t prealloc; fstore_t prealloc;
struct stat st; struct stat st;
size_t newsize; size_t newsize;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment