From 1478b52c9271ca42a97c00aeb718d2a5f786bc41 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Sun, 2 Aug 2009 04:55:34 -0300
Subject: [PATCH 69/74] libjio: Define a dummy POSIX_FADV_WILLNEED when it's not available

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 libjio/compat.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libjio/compat.h b/libjio/compat.h
index 427aa4d..c33baee 100644
--- a/libjio/compat.h
+++ b/libjio/compat.h
@@ -40,6 +40,7 @@ int sync_range_wait(int fd, off_t offset, size_t nbytes);
 #include <fcntl.h>
 #ifndef POSIX_FADV_WILLNEED
 #define LACK_POSIX_FADVISE 1
+#define POSIX_FADV_WILLNEED 0
 #define posix_fadvise(fd, offset, len, advise)
 #endif
 
-- 
1.6.2.2.646.gb214


