[rtems commit] JFFS2: Do not re-define struct iovec

Sebastian Huber sebh at rtems.org
Mon Dec 16 13:25:43 UTC 2013


Module:    rtems
Branch:    master
Commit:    99c2323d4f4e0a661537d3f2a02d6a1dcac25c5f
Changeset: http://git.rtems.org/rtems/commit/?id=99c2323d4f4e0a661537d3f2a02d6a1dcac25c5f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Dec 13 13:57:06 2013 +0100

JFFS2: Do not re-define struct iovec

---

 cpukit/libfs/src/jffs2/src/os-rtems.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/cpukit/libfs/src/jffs2/src/os-rtems.h b/cpukit/libfs/src/jffs2/src/os-rtems.h
index 9fdb6a5..78e2c6c 100644
--- a/cpukit/libfs/src/jffs2/src/os-rtems.h
+++ b/cpukit/libfs/src/jffs2/src/os-rtems.h
@@ -24,6 +24,7 @@
 #include <linux/pagemap.h>
 #include <linux/stat.h>
 #include <linux/types.h>
+#include <sys/uio.h>
 #include <dirent.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -39,11 +40,6 @@
 struct _inode;
 struct super_block;
 
-struct iovec {
-        void *iov_base;
-        ssize_t iov_len; 
-};
-
 static inline unsigned int full_name_hash(const unsigned char * name, size_t len) {
 
 	unsigned hash = 0;




More information about the vc mailing list