Patchwork [11/28] kvm tools: kvm.c needs to include sys/stat.h for mkdir

login
register
mail settings
Submitter Matt Evans
Date Dec. 6, 2011, 3:40 a.m.
Message ID <4EDD8EA1.4020904@ozlabs.org>
Download mbox | patch
Permalink /patch/129506/
State New
Headers show

Comments

Matt Evans - Dec. 6, 2011, 3:40 a.m.
Fix a missing include.

Signed-off-by: Matt Evans <matt@ozlabs.org>
---
 tools/kvm/kvm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/tools/kvm/kvm.c b/tools/kvm/kvm.c
index e526483..33243f1 100644
--- a/tools/kvm/kvm.c
+++ b/tools/kvm/kvm.c
@@ -8,6 +8,7 @@ 
 #include <linux/kvm.h>
 
 #include <sys/un.h>
+#include <sys/stat.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>