]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Always include glib.h in the generated header files
authorAli Sabil <ali.sabil@gmail.com>
Wed, 1 Apr 2009 11:46:12 +0000 (13:46 +0200)
committerAli Sabil <ali.sabil@gmail.com>
Wed, 1 Apr 2009 11:46:12 +0000 (13:46 +0200)
gobject/valaccodebasemodule.vala

index 2539df791eda206f5ae8c12efe4690d82f86cef7..e143b04e94b9354cfa65ce06795f414d8f8b85a6 100644 (file)
@@ -423,6 +423,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                wrappers = new HashSet<string> (str_hash, str_equal);
                generated_external_symbols = new HashSet<Symbol> ();
 
+               header_declarations.add_include ("glib.h");
                source_declarations.add_include ("glib.h");
                source_declarations.add_include ("glib-object.h");