[PATCH:libX11 7/8] Add missing stdio header for printf(3) in DEBUG build.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 11:49:54 PDT 2013


---
 src/xcms/cmsMath.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/xcms/cmsMath.c b/src/xcms/cmsMath.c
index 70b0675..487eb3f 100644
--- a/src/xcms/cmsMath.c
+++ b/src/xcms/cmsMath.c
@@ -35,6 +35,10 @@ in this Software without prior written authorization from The Open Group.
 #include "Xlibint.h"
 #include "Xcmsint.h"
 
+#ifdef DEBUG
+#include <stdio.h>
+#endif
+
 #include <float.h>
 #ifndef DBL_EPSILON
 #define DBL_EPSILON 1e-6
-- 
1.8.2.3



More information about the xorg-devel mailing list