changeset 81817:e6ed0991129c

Include unistd.h only if HAVE_UNISTD_H.
author Richard M. Stallman <rms@gnu.org>
date Thu, 12 Jul 2007 01:41:32 +0000
parents 8c1a05c2d668
children 6716c667c415
files src/term.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Wed Jul 11 19:38:21 2007 +0000
+++ b/src/term.c	Thu Jul 12 01:41:32 2007 +0000
@@ -25,7 +25,9 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 #include "termchar.h"
 #include "termopts.h"