Commit 122c0498 authored by antirez's avatar antirez
Browse files

define __USE_GNU to get O_DIRECT

parent 566c3c7a
......@@ -54,6 +54,7 @@
#include <inttypes.h>
#include <arpa/inet.h>
#include <sys/stat.h>
#define __USE_GNU
#include <fcntl.h>
#include <sys/time.h>
#include <sys/resource.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment