aboutsummaryrefslogtreecommitdiff
path: root/src/input_stream.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 21:14:22 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 21:14:22 +0100
commitb722d3d7f365b106794a3f40435ab220098959c5 (patch)
treefc539d0aa20b0357547ced148cc88f18f648d7fe /src/input_stream.h
parentde57c21a3bec43bffb3fc6a85197f5489e18168f (diff)
configure.ac: require GLib 2.12
Drop the required GLib version from 2.16 to 2.12, because many current systems still don't have GLib 2.16. This requires several new compatibility functions in glib_compat.h.
Diffstat (limited to 'src/input_stream.h')
-rw-r--r--src/input_stream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_stream.h b/src/input_stream.h
index 9e4a526e..edecb846 100644
--- a/src/input_stream.h
+++ b/src/input_stream.h
@@ -26,6 +26,10 @@
#include <stdbool.h>
#include <sys/types.h>
+#if !GLIB_CHECK_VERSION(2,14,0)
+typedef gint64 goffset;
+#endif
+
struct input_stream {
/**
* the plugin which implements this input stream