aboutsummaryrefslogtreecommitdiff
path: root/fastiv-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastiv-io.c')
-rw-r--r--fastiv-io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fastiv-io.c b/fastiv-io.c
index 119d778..a450b73 100644
--- a/fastiv-io.c
+++ b/fastiv-io.c
@@ -37,6 +37,8 @@
#define WUFFS_CONFIG__MODULE__ZLIB
#include "wuffs-mirror-release-c/release/c/wuffs-v0.3.c"
+#include "xdg.h"
+
// A subset of shared-mime-info that produces an appropriate list of
// file extensions. Chiefly motivated by the suckiness of RAW images:
// someone else will maintain the list of file extensions for us.
@@ -448,9 +450,6 @@ fastiv_io_open(const gchar *path, GError **error)
#include <glib/gstdio.h>
#include <png.h>
-// TODO(p): Reorganize the sources.
-gchar *get_xdg_home_dir(const char *var, const char *default_);
-
static void
redirect_png_error(png_structp pngp, const char *error)
{