aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-13 23:42:17 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-13 23:42:35 +0100
commit6a1278786cd59381ebf3066b650cba4e6352ce5d (patch)
tree94474c125d7be03d931f3910e1f4271dc2110aa5
parent13ae4810ca857ae018d9cc34b5181d476cd3316a (diff)
downloadfiv-6a1278786cd59381ebf3066b650cba4e6352ce5d.tar.gz
fiv-6a1278786cd59381ebf3066b650cba4e6352ce5d.tar.xz
fiv-6a1278786cd59381ebf3066b650cba4e6352ce5d.zip
Fix a compiler warning
-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(