diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 11:26:21 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-18 11:26:21 +0000 |
commit | 1add612bf58d6c49a4fe8d93190dea514d6dc7d8 (patch) | |
tree | 1c1a7838977bd8899964c58f627bc20ef2893937 /extras/mini-os/include/fcntl.h | |
parent | b698a6a18c01ee95ca3cc764e4ba7f8d55593c3b (diff) | |
download | xen-1add612bf58d6c49a4fe8d93190dea514d6dc7d8.tar.gz xen-1add612bf58d6c49a4fe8d93190dea514d6dc7d8.tar.bz2 xen-1add612bf58d6c49a4fe8d93190dea514d6dc7d8.zip |
Stubdom: add support for file creation.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/fcntl.h')
-rw-r--r-- | extras/mini-os/include/fcntl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/mini-os/include/fcntl.h b/extras/mini-os/include/fcntl.h index 34a6484d35..0615790e53 100644 --- a/extras/mini-os/include/fcntl.h +++ b/extras/mini-os/include/fcntl.h @@ -1,6 +1,10 @@ #ifndef _I386_FCNTL_H #define _I386_FCNTL_H +#ifdef HAVE_LIBC +#include_next <fcntl.h> +#else + /* open/fcntl - O_SYNC is only implemented on blocks devices and on files located on an ext2 file system */ #define O_ACCMODE 0003 @@ -90,3 +94,5 @@ struct flock64 { int open(const char *path, int flags, ...); int fcntl(int fd, int cmd, ...); #endif + +#endif |