Ver código fonte

Fix including image_types.h

DarthSim 6 anos atrás
pai
commit
1569f9be20
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      processing_options.go
  2. 1 1
      vips.h

+ 1 - 1
processing_options.go

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

+ 1 - 1
vips.h

@@ -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))