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:
parent
f611845698
commit
21bceb5c38
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue