plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 05f50fe6bf2352ec4ec9c94d22414f0eceeeda72
parent 5551e51d2b9df4e289ea3cb1350db4d5f5444df2
Author: rsc <devnull@localhost>
Date:   Sun, 23 Jul 2006 03:05:22 +0000

gnuisms

Diffstat:
Msrc/cmd/9pfuse/main.c | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git 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*);