[gtk+] Don't include unistd.h unconditionally
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't include unistd.h unconditionally
- Date: Wed, 13 Jul 2011 07:11:53 +0000 (UTC)
commit a32be5d7e6346f704876e49bb647d3579ac8a93e
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]