Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc: clean up compiler warnings
[tools/e2fsprogs.git]
/
misc
/
badblocks.c
diff --git
a/misc/badblocks.c
b/misc/badblocks.c
index
8da66f8
..
1e7e1c8
100644
(file)
--- a/
misc/badblocks.c
+++ b/
misc/badblocks.c
@@
-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