[vte] Remove unnecessary include
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] Remove unnecessary include
- Date: Wed, 17 Mar 2010 23:25:28 +0000 (UTC)
commit 75594032397e16e7f6b34ca89fe506c16f011bda
Author: Christian Persch <chpe gnome org>
Date: Thu Mar 18 00:21:24 2010 +0100
Remove unnecessary include
src/vte.h | 2 ++
src/vtepty.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vte.h b/src/vte.h
index 159ef5d..c3b2809 100644
--- a/src/vte.h
+++ b/src/vte.h
@@ -24,7 +24,9 @@
#include <pango/pango.h>
#include <gtk/gtk.h>
+#ifndef VTE_DISABLE_DEPRECATED
#include <sys/types.h> /* for pid_t */
+#endif
#define __VTE_VTE_H_INSIDE__ 1
diff --git a/src/vtepty.h b/src/vtepty.h
index 64effd7..0336d09 100644
--- a/src/vtepty.h
+++ b/src/vtepty.h
@@ -25,8 +25,6 @@
#include <glib-object.h>
-#include <sys/types.h> /* for pid_t */
-
G_BEGIN_DECLS
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]