From a0442ed58dee48a521ea053083ea967894507898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 11 Jul 2018 22:19:56 +0200 Subject: New upstream version 2.0.1+repack --- xicc/mpp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'xicc/mpp.c') diff --git a/xicc/mpp.c b/xicc/mpp.c index 86b6c30..4164021 100755 --- a/xicc/mpp.c +++ b/xicc/mpp.c @@ -113,6 +113,7 @@ #if defined(__IBMC__) && defined(_M_IX86) #include #endif +#include "aconfig.h" #include "numlib.h" #include "cgats.h" #include "icc.h" @@ -123,8 +124,9 @@ #include "gamut.h" #include "mpp.h" #ifdef DOPLOT -#include "plot.h" -#endif /* DOPLOT */ +# include "plot.h" +# include "ui.h" +#endif /* Forward declarations */ static double bandval(mpp *p, int band, double *dev); @@ -715,7 +717,7 @@ int use_fwa /* NZ to involke FWA. */ custIllum = NULL; } - if ((p->spc = new_xsp2cie(ilType, custIllum, obType, custObserver, rcs, 1)) == NULL) + if ((p->spc = new_xsp2cie(ilType, 0.0, custIllum, obType, custObserver, rcs, 1)) == NULL) error("mpp->set_ilob, new_xsp2cie failed"); if (use_fwa) { -- cgit v1.2.3