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:
parent
5896dfd29b
commit
1569f9be20
@ -2,7 +2,7 @@ package main
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -s -w
|
#cgo LDFLAGS: -s -w
|
||||||
#include <image_types.h>
|
#include "image_types.h"
|
||||||
*/
|
*/
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
|
2
vips.h
2
vips.h
@ -1,7 +1,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <vips/vips.h>
|
#include <vips/vips.h>
|
||||||
#include <vips/vips7compat.h>
|
#include <vips/vips7compat.h>
|
||||||
#include <image_types.h>
|
#include "image_types.h"
|
||||||
|
|
||||||
#define VIPS_SUPPORT_SMARTCROP \
|
#define VIPS_SUPPORT_SMARTCROP \
|
||||||
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 5))
|
(VIPS_MAJOR_VERSION > 8 || (VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION >= 5))
|
||||||
|
Loading…
Reference in New Issue
Block a user