[Intel-gfx] [PATCH] Paritially revert "lib: add missing includes to headers"

Daniel Vetter daniel.vetter at ffwll.ch
Tue Jun 17 21:25:47 CEST 2014


This reinstates the #includes for lib/debug.h since without that the
shader debugger fails to build. You need to manually enable it with
./autogen.sh --enable-shader-debugger and the fail only happens when
running a clean build with

$ git clean -dfx && ./autogen.sh --enable-shader-debugger && make

I have no idea what breaks, but this restores the build.

Reported by Ben Widawsky.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 lib/debug.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/debug.h b/lib/debug.h
index ca4b31e6c9da..af9cf391e6a7 100644
--- a/lib/debug.h
+++ b/lib/debug.h
@@ -28,9 +28,6 @@
 #ifndef _DEBUG_H_
 #define _DEBUG_H_
 
-#include <stdint.h>
-#include <stdio.h>
-
 #define DEBUG_PROTOCOL_VERSION 1
 #define COMMUNICATION_OFFSET 0xc00
 #define COMMUNICATION_QWORD 0xc0
-- 
2.0.0




More information about the Intel-gfx mailing list