Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f99a02b
)
Add definition for O_DIRECT since it is not in the headers yet.
author
adilger
<adilger>
Thu, 12 Sep 2002 04:24:17 +0000
(
04:24
+0000)
committer
adilger
<adilger>
Thu, 12 Sep 2002 04:24:17 +0000
(
04:24
+0000)
lustre/tests/openclose.c
patch
|
blob
|
history
diff --git
a/lustre/tests/openclose.c
b/lustre/tests/openclose.c
index
f871044
..
5c1a9ad
100644
(file)
--- a/
lustre/tests/openclose.c
+++ b/
lustre/tests/openclose.c
@@
-7,6
+7,10
@@
#include <errno.h>
#include <string.h>
+#ifndef O_DIRECT
+#define O_DIRECT 040000 /* direct disk access hint */
+#endif
+
int main(int argc, char *argv[])
{
char *filename;