Message ID | 4E89E0D2.5040607@redhat.com |
---|---|
State | Accepted, archived |
Headers | show |
On Mon, Oct 03, 2011 at 11:20:34AM -0500, Eric Sandeen wrote: > ext2fs.h now calls open() so it should include the headers needed > for this system call as well. > > Addresses-RH-Bugzilla: 742147 > Signed-off-by: Eric Sandeen <sandeen@redhat.com> Applied, thanks. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/lib/ext2fs/ext2fs.h b/lib/ext2fs/ext2fs.h index 357bf60..7df0b0d 100644 --- a/lib/ext2fs/ext2fs.h +++ b/lib/ext2fs/ext2fs.h @@ -57,6 +57,9 @@ extern "C" { #include <stdlib.h> #include <string.h> #include <errno.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> #ifndef __USE_XOPEN2K /* If the "#define _XOPEN_SOURCE 600" didn't succeed in declaring
ext2fs.h now calls open() so it should include the headers needed for this system call as well. Addresses-RH-Bugzilla: 742147 Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html