Skip to contentSkip to conversation

Paritially revert "lib: add missing includes to headers"

PATCH New Daniel Vetter 1 participant 1 message Jun 17, 2014 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Paritially revert "lib: add missing includes to headers"

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.

---
 lib/debug.h | 3 ---
 1 file changed, 3 deletions(-)
lib/debug.h +0 -3
index ca4b31e6c9da..af9cf391e6a7 100644
@@ -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
Signature · 1 line
2.0.0