summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerje Rosten <terje.rosten@ntnu.no>2007-06-18 08:45:50 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-18 08:45:50 -0400
commitf9d07885211e6f2a1fa058cbe65da7cbc07b95c0 (patch)
tree3eea23997dddc00d3c80c58c088cebadb352a673
parent66a6d6da0332e8e42014cf8603406a058e810cde (diff)
Fix btrfsck build failure on FC7
-rw-r--r--btrfsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfsck.c b/btrfsck.c
index eb8e38e0..e5be0319 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -17,9 +17,9 @@
*/
#define _XOPEN_SOURCE 500
+#define _GNU_SOURCE 1
#include <stdio.h>
#include <stdlib.h>
-#define __USE_GNU
#include <fcntl.h>
#include "kerncompat.h"
#include "radix-tree.h"