diff options
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r-- | includes/hardinfo.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h index 20d87ef8..70329ac7 100644 --- a/includes/hardinfo.h +++ b/includes/hardinfo.h @@ -46,9 +46,9 @@ struct _ProgramParameters { gboolean list_modules; gboolean autoload_deps; gboolean run_xmlrpc_server; - + gint report_format; - + gchar **use_modules; gchar *run_benchmark; gchar *path_lib; @@ -161,4 +161,10 @@ void moreinfo_clear(void); gchar *moreinfo_lookup_with_prefix(gchar *prefix, gchar *key); gchar *moreinfo_lookup(gchar *key); +#if !GLIB_CHECK_VERSION(2,44,0) + /* g_strv_contains() requires glib>2.44 + * fallback for older versions in hardinfo/util.c */ +gboolean g_strv_contains(const gchar * const * strv, const gchar *str); +#endif + #endif /* __HARDINFO_H__ */ |