From 215a57a76656098ba81f44d7e7033f4de0badf78 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 24 Sep 2016 13:11:53 +0100 Subject: [Minor] Fix build with glib < 2.40 --- src/libutil/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libutil/util.h') diff --git a/src/libutil/util.h b/src/libutil/util.h index 564d00b12..946d9f09a 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -186,6 +186,9 @@ void g_queue_clear (GQueue *queue); #if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 32)) void g_queue_free_full (GQueue *queue, GDestroyNotify free_func); #endif +#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 40)) +void g_ptr_array_insert (GPtrArray *array, gint index_, gpointer data) +#endif /* * Convert milliseconds to timeval fields -- cgit v1.2.3