]> git.eshelyaron.com Git - emacs.git/commitdiff
Include unistd.h only if HAVE_UNISTD_H.
authorRichard M. Stallman <rms@gnu.org>
Thu, 12 Jul 2007 01:41:38 +0000 (01:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 12 Jul 2007 01:41:38 +0000 (01:41 +0000)
src/ChangeLog
src/term.c

index df9ae72e2b89054f468b8a9cc710d64bfc196dbb..e920eb57437e334be8f3defeb0a2f42473736dc2 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-12  Richard Stallman  <rms@gnu.org>
+
+       * term.c: Include unistd.h only if HAVE_UNISTD_H.
+
 2007-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer.
index 41ccfb0dd1f10f4daea1ea70cd79d42968fb19b5..b88448fc446c72bb30784a23041ff379f26f6fc1 100644 (file)
@@ -25,7 +25,9 @@ Boston, MA 02110-1301, USA.  */
 #include <stdio.h>
 #include <ctype.h>
 #include <string.h>
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
 
 #include "termchar.h"
 #include "termopts.h"