* [PATCH] e2fsprogs: include headers for open() in ext2fs.h
@ 2011-10-03 16:20 Eric Sandeen
2011-10-03 17:18 ` Ted Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Eric Sandeen @ 2011-10-03 16:20 UTC (permalink / raw)
To: ext4 development
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-03 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-03 16:20 [PATCH] e2fsprogs: include headers for open() in ext2fs.h Eric Sandeen
2011-10-03 17:18 ` Ted Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox