diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/xfns.c | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 502f607a0ea..43efd8fc05e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2001-11-03 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * xfns.c: Include unistd.h, if it exists. | ||
| 4 | |||
| 5 | * editfns.c: Move the include of ctype.h after unistd.h. | ||
| 6 | |||
| 7 | * gmalloc.c: Test BROKEN_PROTOTYPES. | ||
| 8 | |||
| 1 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> | 9 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
| 2 | 10 | ||
| 3 | * lisp.h (CHECK_STRING_CAR): New macro. | 11 | * lisp.h (CHECK_STRING_CAR): New macro. |
diff --git a/src/xfns.c b/src/xfns.c index fe1f0b0f449..8f7e13311f8 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */ | |||
| 24 | #include <stdio.h> | 24 | #include <stdio.h> |
| 25 | #include <math.h> | 25 | #include <math.h> |
| 26 | 26 | ||
| 27 | #ifdef HAVE_UNISTD_H | ||
| 28 | #include <unistd.h> | ||
| 29 | #endif | ||
| 30 | |||
| 27 | /* This makes the fields of a Display accessible, in Xlib header files. */ | 31 | /* This makes the fields of a Display accessible, in Xlib header files. */ |
| 28 | 32 | ||
| 29 | #define XLIB_ILLEGAL_ACCESS | 33 | #define XLIB_ILLEGAL_ACCESS |