]> git.proxmox.com Git - mirror_qemu.git/blobdiff - fsdev/file-op-9p.h
Don't include headers already included by qemu/osdep.h
[mirror_qemu.git] / fsdev / file-op-9p.h
index 8fd89f04474bde882c7dfa6d41b07136a59cb2d6..4997677460e8c0d1d23bcbca80d94046a1a628fe 100644 (file)
 
 #include <dirent.h>
 #include <utime.h>
-#include <sys/vfs.h>
 #include "qemu-fsdev-throttle.h"
 #include "p9array.h"
 
+#ifdef CONFIG_LINUX
+# include <sys/vfs.h>
+#endif
+#ifdef CONFIG_DARWIN
+# include <sys/param.h>
+# include <sys/mount.h>
+#endif
+
 #define SM_LOCAL_MODE_BITS    0600
 #define SM_LOCAL_DIR_MODE_BITS    0700