From: Mike Frysinger Date: Mon, 27 Feb 2012 06:12:53 +0000 (-0500) Subject: libext2fs: include config.h for HAVE_xxx defines X-Git-Tag: v1.42.2~44 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=997a0cf34e26c4af1cf18f2e61d8d1ad346e8e2f;p=tools%2Fe2fsprogs.git libext2fs: include config.h for HAVE_xxx defines 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 Signed-off-by: Theodore Ts'o --- diff --git a/lib/ext2fs/mmp.c b/lib/ext2fs/mmp.c index b27d9a4..49a11da 100644 --- 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 #endif