aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/fcntl.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-08 10:45:30 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-08 10:45:30 +0100
commit168d8692c8d5e2530f2064fd137ee4c55e504591 (patch)
tree19a4698498f116df335debb0fa78436ffb3ee0b5 /extras/mini-os/include/fcntl.h
parent6c818dce46287023be51055e353b5fa3628ef926 (diff)
downloadxen-168d8692c8d5e2530f2064fd137ee4c55e504591.tar.gz
xen-168d8692c8d5e2530f2064fd137ee4c55e504591.tar.bz2
xen-168d8692c8d5e2530f2064fd137ee4c55e504591.zip
stubdom: turn off_t 64bit on x86
We can decide to make off_t 64bit instead of implementing the LFS tricks. Name corresponding functions foo64 to permit simple caml programs linking. 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/mini-os/include/fcntl.h b/extras/mini-os/include/fcntl.h
index 0615790e53..cc59b3caa9 100644
--- a/extras/mini-os/include/fcntl.h
+++ b/extras/mini-os/include/fcntl.h
@@ -91,8 +91,9 @@ struct flock64 {
#define F_LINUX_SPECIFIC_BASE 1024
*/
-int open(const char *path, int flags, ...);
-int fcntl(int fd, int cmd, ...);
#endif
+int open(const char *path, int flags, ...) asm("open64");
+int fcntl(int fd, int cmd, ...);
+
#endif