The gatresult data types embeds GSList members, and the function
prototypes uses glib types.
Add include of glib.h to allow use of gatresult.h without also including
glib.h
---
gatchat/gatresult.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gatchat/gatresult.h b/gatchat/gatresult.h
index 589dd3dd..e92d38ba 100644
--- a/gatchat/gatresult.h
+++ b/gatchat/gatresult.h
@@ -22,6 +22,8 @@
#ifndef __GATCHAT_RESULT_H
#define __GATCHAT_RESULT_H
+#include <glib.h>
+
#ifdef __cplusplus
extern "C" {
#endif
--
2.22.0
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono