From: Richard M. Stallman Date: Thu, 12 Jul 2007 01:41:38 +0000 (+0000) Subject: Include unistd.h only if HAVE_UNISTD_H. X-Git-Tag: emacs-pretest-23.0.90~11955 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d8b180437fc649520fae0afea113590224948fc9;p=emacs.git Include unistd.h only if HAVE_UNISTD_H. --- diff --git a/src/ChangeLog b/src/ChangeLog index df9ae72e2b8..e920eb57437 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-07-12 Richard Stallman + + * term.c: Include unistd.h only if HAVE_UNISTD_H. + 2007-07-11 Stefan Monnier * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. diff --git a/src/term.c b/src/term.c index 41ccfb0dd1f..b88448fc446 100644 --- a/src/term.c +++ b/src/term.c @@ -25,7 +25,9 @@ Boston, MA 02110-1301, USA. */ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include "termchar.h" #include "termopts.h"