Skip to contentSkip to conversation

: fix build since 22326:4ac03710fc32

PATCH New Gianni Tedesco 1 participant 1 message Nov 1, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fix build since 22326:4ac03710fc32

"libxl: Fix migration of HVM guests" introduces a stat call without including <sys/stat.h>

tools/libxl/libxl_dom.c +1 -0
diff -r 310d2cb03414 tools/libxl/libxl_dom.c
@@ -22,6 +22,7 @@
 #include <string.h>
 #include <sys/mman.h>
 #include <sys/time.h> /* for struct timeval */
+#include <sys/stat.h> /* for stat */
 #include <unistd.h> /* for sleep(2) */
 
 #include <xenctrl.h>