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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux