1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

Include unistd.h, if it exists.

This commit is contained in:
Richard M. Stallman 2001-11-04 03:20:48 +00:00
parent 409847a1ce
commit 3ecaf7e54c
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2001-11-03 Richard M. Stallman <rms@gnu.org>
* xfns.c: Include unistd.h, if it exists.
* editfns.c: Move the include of ctype.h after unistd.h.
* gmalloc.c: Test BROKEN_PROTOTYPES.
2001-11-03 Ken Raeburn <raeburn@gnu.org>
* lisp.h (CHECK_STRING_CAR): New macro.

View File

@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <math.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
/* This makes the fields of a Display accessible, in Xlib header files. */
#define XLIB_ILLEGAL_ACCESS