Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b96365f
)
libext2fs: include config.h for HAVE_xxx defines
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 27 Feb 2012 06:12:53 +0000
(
01:12
-0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 27 Feb 2012 06:12:53 +0000
(
01:12
-0500)
We check HAVE_UNISTD_H but haven't included config.h yet, so we end up
hitting warnings about missing prototypes for close/read/etc... funcs.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/mmp.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/mmp.c
b/lib/ext2fs/mmp.c
index
b27d9a4
..
49a11da
100644
(file)
--- a/
lib/ext2fs/mmp.c
+++ b/
lib/ext2fs/mmp.c
@@
-13,6
+13,8
@@
#define _GNU_SOURCE
#endif
+#include "config.h"
+
#if HAVE_UNISTD_H
#include <unistd.h>
#endif