diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2013-06-02 11:49:54 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:27 +0200 |
commit | e03d8c215ea51164b4c53a821e0a77660b60ffbd (patch) | |
tree | c0ec3ba5196a3e45f9c7d899c18359c66ae94de1 | |
parent | 26f7239a0111a0915ba121c292ced276e3942900 (diff) | |
download | nx-libs-e03d8c215ea51164b4c53a821e0a77660b60ffbd.tar.gz nx-libs-e03d8c215ea51164b4c53a821e0a77660b60ffbd.tar.bz2 nx-libs-e03d8c215ea51164b4c53a821e0a77660b60ffbd.zip |
cmsMath.c: Add missing stdio header for printf(3) in DEBUG build.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
-rw-r--r-- | nx-X11/lib/X11/cmsMath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/cmsMath.c b/nx-X11/lib/X11/cmsMath.c index 70b067587..487eb3f9c 100644 --- a/nx-X11/lib/X11/cmsMath.c +++ b/nx-X11/lib/X11/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 |