Skip to content
Snippets Groups Projects
Commit 5c2cfbc4 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Add definition for O_DIRECT since it is not in the headers yet.

parent f99a02ba
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment