[glib: 1/7] Fix gconstructor.h header to include gslist functions




commit bfa46bd98ab5201d2e9d5e566ef28f9c52d28b41
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 13:51:49 2022 +0100

    Fix gconstructor.h header to include gslist functions
    
    Macros defined in gconstructor.h header are using g_slist_find()
    function but the gslist.h corresponding header was not included.

 glib/gconstructor.h | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/glib/gconstructor.h b/glib/gconstructor.h
index 407202167..bb7594641 100644
--- a/glib/gconstructor.h
+++ b/glib/gconstructor.h
@@ -28,6 +28,7 @@
 #elif defined (_MSC_VER) && (_MSC_VER >= 1500)
 /* Visual studio 2008 and later has _Pragma */
 
+#include "gslist.h"
 #include <stdlib.h>
 
 #define G_HAS_CONSTRUCTORS 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]