Skip to contentSkip to conversation

qxl: Add missing trace.h (fix broken build)

PATCH Applied Stefan Weil 2 participants 2 messages Dec 7, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qxl: Add missing trace.h (fix broken build)

Commit ac86048bcd41129b18702ba63395f222871804de removed trace.h from console.h and ignored the fact that qxl-render.c needs this file (it includes qxl.h which includes console.h which included trace.h).

---

Sorry for this regression. Obviously most builds don't set CONFIG_QXL.

Regards,
Stefan

 hw/display/qxl-render.c |    1 +
 1 file changed, 1 insertion(+)
hw/display/qxl-render.c +1 -0
index d34b0c4..84f1367 100644
@@ -20,6 +20,7 @@
  */
 
 #include "qxl.h"
+#include "trace.h"
 
 static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect)
 {
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 8 lines · Stefan Weil

Commit ac86048bcd41129b18702ba63395f222871804de removed trace.h from console.h and ignored the fact that qxl-render.c needs this file (it includes qxl.h which includes console.h which included trace.h).

---

Sorry for this regression. Obviously most builds don't set CONFIG_QXL.

I actually thought I enabled QXL in build when testing stuff initially. However, as it turned out, I disabled it due to other reason, and forgot about this... Oh well.. ;)

Thanks, applied to trivial-patches queue. I think an urgent pull request is needed, unless this can be applied directly.

/mjt