diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index db79a5ea..567b6770 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -23,8 +23,12 @@ #define O_DIRECTORY 0 #endif #ifndef O_LARGEFILE +#if defined(__linux__) +#define O_LARGEFILE 0100000 /* Sigh */ +#else #define O_LARGEFILE 0 #endif +#endif int debug;