diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/9pfuse/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index 15d47146..cd045e94 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -17,9 +17,18 @@ * TODO: graceful shutdown. */ -#define _GNU_SOURCE 1 /* for O_DIRECTORY */ +#define _GNU_SOURCE 1 /* for O_DIRECTORY on Linux */ #include "a.h" +/* GNUisms */ +#ifndef O_DIRECTORY +#define O_DIRECTORY 0 +#endif +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 +#endif + + int debug; char *argv0; void fusedispatch(void*); |