[pygobject] Fix missing #includes
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix missing #includes
- Date: Fri, 27 Jul 2012 20:13:25 +0000 (UTC)
commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
Author: Martin Pitt <martinpitt gnome org>
Date: Fri Jul 27 22:08:47 2012 +0200
Fix missing #includes
Add missing includes which caused -Wmissing-prototypes warnings.
gi/_glib/pygiochannel.c | 2 ++
gi/_glib/pygspawn.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gi/_glib/pygiochannel.c b/gi/_glib/pygiochannel.c
index 3921cac..2211355 100644
--- a/gi/_glib/pygiochannel.c
+++ b/gi/_glib/pygiochannel.c
@@ -12,6 +12,8 @@
#include "pyglib-private.h"
#include "pygsource.h"
+#include "pygiochannel.h"
+
typedef struct {
PyObject_HEAD
GIOChannel *channel;
diff --git a/gi/_glib/pygspawn.c b/gi/_glib/pygspawn.c
index cfa5555..07adbff 100644
--- a/gi/_glib/pygspawn.c
+++ b/gi/_glib/pygspawn.c
@@ -27,6 +27,8 @@
#include "pyglib.h"
#include "pyglib-private.h"
+#include "pygspawn.h"
+
struct _PyGChildSetupData {
PyObject *func;
PyObject *data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]