summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-fw-id.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-fw-id.c b/tests/test-fw-id.c
index 9ec40e9..d900f13 100644
--- a/tests/test-fw-id.c
+++ b/tests/test-fw-id.c
@@ -31,6 +31,8 @@
#include <time.h>
#include <libintl.h>
+#include <glib-object.h>
+
#include "itdb.h"
#include "itdb_device.h"
@@ -45,6 +47,8 @@ main (int argc, char *argv[])
return 1;
}
+
+ g_type_init ();
device = itdb_device_new ();
if (device == NULL) {