Skip to contentSkip to conversation

blktap: build fix uncovered with c/s 25149

PATCH New Christoph Egger 1 participant 1 message Apr 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blktap: build fix uncovered with c/s 25149

Fix build error uncovered with c/s 25149 when compiling tools w/o MEMSHR.

tools/blktap/drivers/blktapctrl.c +2 -0
diff -r 5fb9677f06f9 tools/blktap/drivers/blktapctrl.c
@@ -50,7 +50,9 @@
 #include <xs.h>
 #include <sys/time.h>
 #include <syslog.h>
+#ifdef MEMSHR
 #include <memshr.h>
+#endif
 #include <sys/stat.h>
                                                                      
 #include "blktaplib.h"

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel