[PATCH:libX11 7/8] Add missing stdio header for printf(3) in DEBUG build.
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Jun 2 16:23:36 PDT 2013
On 06/ 2/13 11:49 AM, Thomas Klausner wrote:
> ---
> 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
>
Reviewed, accepted and pushed for Xlib 1.6 as it's small & safe enough
to go in after the last RC.
To ssh://git.freedesktop.org/git/xorg/lib/libX11
96dcf74..4a89b7e master -> master
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list