commit | 983990c806eb019cb490449cac70032417222a41 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Fri May 14 20:19:53 2004 +0000 |
committer | rsc <devnull@localhost> | Fri May 14 20:19:53 2004 +0000 |
tree | 887922c7eb4a4ed2d4957e693c0032d97e6ede88 | |
parent | 631fe87f4c4bdcbc5785c8eb928d20d063f47e0c [diff] [blame] |
C little bugs . wq VS: ----------------------------------------------------------------------
diff --git a/src/lib9/open.c b/src/lib9/open.c index 95d20d4..9d9ba31 100644 --- a/src/lib9/open.c +++ b/src/lib9/open.c
@@ -2,6 +2,9 @@ #include <u.h> #define NOPLAN9DEFINES #include <libc.h> +#ifndef O_DIRECT +#define O_DIRECT 0 +#endif int p9open(char *name, int mode)