define __USE_GNU to get O_DIRECT

This commit is contained in:
antirez 2010-04-20 18:29:06 +02:00
parent 566c3c7a22
commit 122c049834

View File

@ -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>