fix build error w/o MEMSHR
PATCH 1/1 fix build error w/o MEMSHR
Do not include memshr.h when MEMSHR is not defined. Fixes build error when MEMSHR is disabled.
Signed-off-by Christoph Egger <[email protected]>
tools/blktap/drivers/blktapctrl.c +2 -0
@@ -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
Christoph Egger writes ("[Xen-devel] [PATCH] fix build error w/o MEMSHR"):
Quoted 3 lines
Do not include
memshr.hwhen MEMSHR is not defined. Fixes build error when MEMSHR is disabled.
Acked-by Ian Jackson <[email protected]>
Committed-by Ian Jackson <[email protected]>
Quoted 7 lines · Ian Jackson
Christoph Egger writes ("[Xen-devel] [PATCH] fix build error w/o MEMSHR"):
Quoted 3 lines
Do not include
memshr.hwhen MEMSHR is not defined. Fixes build error when MEMSHR is disabled.Acked-by Ian Jackson <[email protected]>Committed-by Ian Jackson <[email protected]>
Thanks.
Christoph
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632