[glib] glib-types.h: Include glib.h, since we use G_BEGIN_DECLS



commit dad374b1a05bc98a5b8c90e2de51ce87dc4fbd8f
Author: Colin Walters <walters verbum org>
Date:   Tue Jun 7 16:26:43 2011 -0400

    glib-types.h: Include glib.h, since we use G_BEGIN_DECLS
    
    This header is included individually by g-ir-scanner.

 gobject/glib-types.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gobject/glib-types.h b/gobject/glib-types.h
index 239853d..f4c6980 100644
--- a/gobject/glib-types.h
+++ b/gobject/glib-types.h
@@ -23,6 +23,8 @@
 #ifndef __GLIB_TYPES_H__
 #define __GLIB_TYPES_H__
 
+#include <glib.h>
+
 G_BEGIN_DECLS
 
 /* A hack necesssary to preprocess this file with g-ir-scanner */



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