From 9564774e57f20acc01a71642a97ec6de9a41df67 Mon Sep 17 00:00:00 2001 From: ericm Date: Tue, 25 Nov 2003 12:14:05 +0000 Subject: [PATCH] liblustre: follow up last merge from b_devel. --- lustre/mdc/mdc_lib.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lustre/mdc/mdc_lib.c b/lustre/mdc/mdc_lib.c index e3a1c4d..0de8ad7 100644 --- a/lustre/mdc/mdc_lib.c +++ b/lustre/mdc/mdc_lib.c @@ -21,6 +21,7 @@ #define DEBUG_SUBSYSTEM S_MDS #ifndef __KERNEL__ +# include # include #endif #include @@ -28,6 +29,13 @@ #include #include "mdc_internal.h" +#ifndef __KERNEL__ +/* some liblustre hackings here */ +#ifndef O_DIRECTORY +#define O_DIRECTORY 0 +#endif +#endif + void mdc_readdir_pack(struct ptlrpc_request *req, __u64 offset, __u32 size, struct ll_fid *mdc_fid) { -- 1.8.3.1