提交 122c0498 编写于 作者: A antirez

define __USE_GNU to get O_DIRECT

上级 566c3c7a
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <sys/stat.h> #include <sys/stat.h>
#define __USE_GNU
#include <fcntl.h> #include <fcntl.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册