Permalink
Browse files

define __USE_GNU to get O_DIRECT

  • Loading branch information...
1 parent 566c3c7 commit 122c04983400a076423811740f2b87163ea95c00 @antirez committed Apr 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 redis.c
View
1 redis.c
@@ -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>

0 comments on commit 122c049

Please sign in to comment.