Whamcloud - gitweb
misc: clean up compiler warnings
[tools/e2fsprogs.git] / misc / badblocks.c
index 8da66f8..1e7e1c8 100644 (file)
@@ -29,7 +29,9 @@
  *                      list.  (Work done by David Beattie)
  */
 
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE /* for O_DIRECT */
+#endif
 
 #ifndef O_LARGEFILE
 #define O_LARGEFILE 0