[totem-pl-parser] Only include unistd.h if available
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] Only include unistd.h if available
- Date: Mon, 12 Apr 2010 12:30:04 +0000 (UTC)
commit e40a9f12efeb91f07197448f2e9276f2b6eccb01
Author: Shixin Zeng <zeng shixin gmail com>
Date: Mon Apr 12 13:11:54 2010 +0100
Only include unistd.h if available
plparse/tests/parser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index dac0bd0..bca0195 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -6,7 +6,9 @@
#include <gio/gio.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif /* HAVE_UNISTD_H */
#include <stdlib.h>
#include <time.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]