diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-27 12:32:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-27 12:32:55 +0000 |
commit | 6c98a7447d79fda38e0eb8313d45c6cc23cfc3c9 (patch) | |
tree | ebeb8f6a6d5311fa8b451095a2b00c7c6b6b005c /src/libutil/util.h | |
parent | 2ad0276a3189c61e673ea716dbd461ac6ee59f87 (diff) | |
download | rspamd-6c98a7447d79fda38e0eb8313d45c6cc23cfc3c9.tar.gz rspamd-6c98a7447d79fda38e0eb8313d45c6cc23cfc3c9.zip |
[Minor] Add older glib compat
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index e9c1fa1db..9d12285d4 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -195,6 +195,9 @@ void g_ptr_array_insert (GPtrArray *array, gint index_, gpointer data); GPtrArray* g_ptr_array_new_full (guint reserved_size, GDestroyNotify element_free_func); #endif +#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 32)) +const gchar *g_environ_getenv (gchar **envp, const gchar *variable); +#endif /* * Convert milliseconds to timeval fields |