Fix btrfsck build failure on FC7
authorTerje Rosten <terje.rosten@ntnu.no>
Mon, 18 Jun 2007 12:45:50 +0000 (08:45 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Mon, 18 Jun 2007 12:45:50 +0000 (08:45 -0400)
btrfsck.c

index eb8e38e..e5be031 100644 (file)
--- 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"