summaryrefslogtreecommitdiff
path: root/hardinfo/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo/info.c')
-rw-r--r--hardinfo/info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hardinfo/info.c b/hardinfo/info.c
index ac18e0d9..cf6af9f9 100644
--- a/hardinfo/info.c
+++ b/hardinfo/info.c
@@ -17,6 +17,7 @@
*/
#include "hardinfo.h"
+#include "util_sysobj.h" /* for SEQ() */
/* Using a slightly modified gg_key_file_parse_string_as_value()
* from GLib in flatten(), to escape characters and the separator.
@@ -377,8 +378,6 @@ gchar *info_flatten(struct Info *info)
return g_string_free(values, FALSE);
}
-#define SEQ(a,b) (g_strcmp0(a,b) == 0)
-
struct InfoField *info_find_field(struct Info *info, const gchar *tag, const gchar *name) {
struct InfoGroup *group;
struct InfoField *field;