From 1569f9be202392f317072bb59238283474ff3e9e Mon Sep 17 00:00:00 2001 From: DarthSim Date: Sun, 9 Sep 2018 20:11:34 +0600 Subject: [PATCH] Fix including image_types.h --- processing_options.go | 2 +- vips.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/processing_options.go b/processing_options.go index d5e5a6a8..132912b0 100644 --- a/processing_options.go +++ b/processing_options.go @@ -2,7 +2,7 @@ package main /* #cgo LDFLAGS: -s -w -#include +#include "image_types.h" */ import "C" diff --git a/vips.h b/vips.h index c4a8d9f9..6d6785a5 100644 --- a/vips.h +++ b/vips.h @@ -1,7 +1,7 @@ #include #include #include -#include +#include "image_types.h" #define VIPS_SUPPORT_SMARTCROP \ (VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 5))