Fix compilation error when lcms has not been found

If HAVE_LCMS2 is not defined, VipsImage is not declared in both
CMYK2XYZ and XYZ2CMYK source files.
This commit is contained in:
Dimitri Bouron 2018-12-31 17:03:47 +01:00
parent f611845698
commit 21bceb5c38
2 changed files with 4 additions and 2 deletions

View File

@ -37,12 +37,13 @@
#endif /*HAVE_CONFIG_H*/
#include <vips/intl.h>
#include <vips/vips.h>
#ifdef HAVE_LCMS2
#include <stdio.h>
#include <math.h>
#include <vips/vips.h>
#include <vips/internal.h>
#include "pcolour.h"

View File

@ -37,12 +37,13 @@
#endif /*HAVE_CONFIG_H*/
#include <vips/intl.h>
#include <vips/vips.h>
#ifdef HAVE_LCMS2
#include <stdio.h>
#include <math.h>
#include <vips/vips.h>
#include <vips/internal.h>
#include "pcolour.h"