From: Eric Sandeen Date: Mon, 3 Oct 2011 17:16:48 +0000 (-0400) Subject: e2fsprogs: include headers for open() in ext2fs.h X-Git-Tag: v1.42-WIP-1005~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e43bb12f402c7de72113a24701fcd17024e1f25c;p=thirdparty%2Fe2fsprogs.git e2fsprogs: include headers for open() in ext2fs.h ext2fs.h now calls open() so it should include the headers needed for this system call as well. Addresses-Red-Hat-Bugzilla: #742147 Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index 357bf60f7..7df0b0d24 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -57,6 +57,9 @@ extern "C" { #include #include #include +#include +#include +#include #ifndef __USE_XOPEN2K /* If the "#define _XOPEN_SOURCE 600" didn't succeed in declaring