aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-07-23 03:05:22 +0000
committerrsc <devnull@localhost>2006-07-23 03:05:22 +0000
commit05f50fe6bf2352ec4ec9c94d22414f0eceeeda72 (patch)
treefbefa39ce6de3a145060aaf3e27a37e23b761a53 /src/cmd/9pfuse
parent5551e51d2b9df4e289ea3cb1350db4d5f5444df2 (diff)
downloadplan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.tar.gz
plan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.tar.bz2
plan9port-05f50fe6bf2352ec4ec9c94d22414f0eceeeda72.zip
gnuisms
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/main.c11
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*);