aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv-io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fiv-io.h b/fiv-io.h
index 066770c..3841ffa 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -20,6 +20,7 @@
#include <cairo.h>
#include <gio/gio.h>
#include <glib.h>
+#include <webp/encode.h> // WebPConfig
// --- Colour management -------------------------------------------------------
@@ -103,8 +104,6 @@ GPtrArray *fiv_io_model_get_subdirectories(FivIoModel *self);
// --- Export ------------------------------------------------------------------
-typedef struct WebPConfig WebPConfig;
-
/// Encodes a Cairo surface as a WebP bitstream, following the configuration.
/// The result needs to be freed using WebPFree/WebPDataClear().
unsigned char *fiv_io_encode_webp(