From: syeon.hwang Date: Thu, 12 Jul 2012 11:12:23 +0000 (+0900) Subject: [Title] Fix build failure on some new ubuntu host X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1528^2~119^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=273dafbc68bdc779d5841cb46864204396ae97a7;p=sdk%2Femulator%2Fqemu.git [Title] Fix build failure on some new ubuntu host [Type] [Module] [Priority] [CQ#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/hw/9pfs/virtio-9p-handle.c b/hw/9pfs/virtio-9p-handle.c index f97d8984bd..82a8d02ce9 100644 --- a/hw/9pfs/virtio-9p-handle.c +++ b/hw/9pfs/virtio-9p-handle.c @@ -27,6 +27,7 @@ #endif #include + #ifndef XFS_SUPER_MAGIC #define XFS_SUPER_MAGIC 0x58465342 #endif @@ -40,6 +41,18 @@ #define BTRFS_SUPER_MAGIC 0x9123683E #endif +#ifdef CONFIG_MARU // added by caramis +#ifndef AT_REMOVEDIR +#define AT_REMOVEDIR 0x200 +#endif +#ifndef AT_EMPTY_PATH +#define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ +#endif +#ifndef O_PATH +#define O_PATH 010000000 +#endif +#endif + struct handle_data { int mountfd; int handle_bytes;