[gtk+/font-chooser] Don't include unistd.h unconditionally
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/font-chooser] Don't include unistd.h unconditionally
- Date: Wed, 20 Jul 2011 20:15:46 +0000 (UTC)
commit d6542baaa3c0ff0a28265846555525c0210614fb
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jul 13 15:27:28 2011 +0800
Don't include unistd.h unconditionally
gtk/a11y/gtktextviewaccessible.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/a11y/gtktextviewaccessible.c b/gtk/a11y/gtktextviewaccessible.c
index 809a5a9..d0fa153 100644
--- a/gtk/a11y/gtktextviewaccessible.c
+++ b/gtk/a11y/gtktextviewaccessible.c
@@ -20,7 +20,11 @@
#include "config.h"
#include <sys/types.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <glib-object.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]