diff options
author | rsc <devnull@localhost> | 2006-07-23 03:05:22 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-07-23 03:05:22 +0000 |
commit | 05f50fe6bf2352ec4ec9c94d22414f0eceeeda72 (patch) | |
tree | fbefa39ce6de3a145060aaf3e27a37e23b761a53 /src | |
parent | 5551e51d2b9df4e289ea3cb1350db4d5f5444df2 (diff) | |
download | plan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.tar.gz plan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.tar.bz2 plan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.zip |
gnuisms
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*); |