qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 02/18] #include <sys/vfs.h> is not available under W


From: Michael Fritscher
Subject: [Qemu-devel] [PATCH 02/18] #include <sys/vfs.h> is not available under Windows.
Date: Fri, 29 Sep 2017 13:13:07 +0200

Signed-off-by: Michael Fritscher <address@hidden>
---
 fsdev/file-op-9p.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h
index 474c79d003..3fc7b0532f 100644
--- a/fsdev/file-op-9p.h
+++ b/fsdev/file-op-9p.h
@@ -16,7 +16,9 @@
 
 #include <dirent.h>
 #include <utime.h>
-#include <sys/vfs.h>
+#ifndef _WIN32
+# include <sys/vfs.h>
+#endif
 #include "qemu-fsdev-throttle.h"
 
 #define SM_LOCAL_MODE_BITS    0600
-- 
2.13.2.windows.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]