diff src/term.c @ 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 c10410a3aa36
children b98604865ea0 0ece58f6e0aa a66921565bcb
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"