1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00

Fix including image_types.h

This commit is contained in:
DarthSim 2018-09-09 20:11:34 +06:00
parent 5896dfd29b
commit 1569f9be20
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ package main
/*
#cgo LDFLAGS: -s -w
#include <image_types.h>
#include "image_types.h"
*/
import "C"

2
vips.h
View File

@ -1,7 +1,7 @@
#include <stdlib.h>
#include <vips/vips.h>
#include <vips/vips7compat.h>
#include <image_types.h>
#include "image_types.h"
#define VIPS_SUPPORT_SMARTCROP \
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 5))