qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 04/18] Don't include sys/resource.h on Windows.


From: Michael Fritscher
Subject: [Qemu-devel] [PATCH 04/18] Don't include sys/resource.h on Windows.
Date: Fri, 29 Sep 2017 13:13:09 +0200

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

diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
index d1cfeaf10e..c2dd782620 100644
--- a/hw/9pfs/9p.h
+++ b/hw/9pfs/9p.h
@@ -3,7 +3,9 @@
 
 #include <dirent.h>
 #include <utime.h>
-#include <sys/resource.h>
+#ifndef _WIN32
+# include <sys/resource.h>
+#endif
 #include "fsdev/file-op-9p.h"
 #include "fsdev/9p-iov-marshal.h"
 #include "qemu/thread.h"
-- 
2.13.2.windows.1




reply via email to

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