diff options
| author | Richard M. Stallman | 2007-07-12 01:41:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-07-12 01:41:38 +0000 |
| commit | d8b180437fc649520fae0afea113590224948fc9 (patch) | |
| tree | c5bc9d6c2ce5f1efb28e5cbca5a3ce723e8a0a14 /src | |
| parent | db8af973954fda8e7204929b6efbd82f41ca05f8 (diff) | |
| download | emacs-d8b180437fc649520fae0afea113590224948fc9.tar.gz emacs-d8b180437fc649520fae0afea113590224948fc9.zip | |
Include unistd.h only if HAVE_UNISTD_H.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/term.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index df9ae72e2b8..e920eb57437 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-07-12 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * term.c: Include unistd.h only if HAVE_UNISTD_H. | ||
| 4 | |||
| 1 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. | 7 | * 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. */ | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <ctype.h> | 26 | #include <ctype.h> |
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #ifdef HAVE_UNISTD_H | ||
| 28 | #include <unistd.h> | 29 | #include <unistd.h> |
| 30 | #endif | ||
| 29 | 31 | ||
| 30 | #include "termchar.h" | 32 | #include "termchar.h" |
| 31 | #include "termopts.h" | 33 | #include "termopts.h" |