diff options
| author | Dave Love | 2000-03-28 11:10:55 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-28 11:10:55 +0000 |
| commit | e9b309ac910a5e3c13cca480b32a9231d76b2d9b (patch) | |
| tree | bf0c78f033228ce81c983c90e96b33cf15bdb609 /src/alloc.c | |
| parent | ed0767d80f1d3ae00b4a89576b009e44398cc1ba (diff) | |
| download | emacs-e9b309ac910a5e3c13cca480b32a9231d76b2d9b.tar.gz emacs-e9b309ac910a5e3c13cca480b32a9231d76b2d9b.zip | |
Include stdio.h. Test STDC_HEADERS, not __STDC__.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 9b82d45a0bf..d7e4214c6c4 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -20,6 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
| 20 | Boston, MA 02111-1307, USA. */ | 20 | Boston, MA 02111-1307, USA. */ |
| 21 | 21 | ||
| 22 | #include <config.h> | 22 | #include <config.h> |
| 23 | #include <stdio.h> | ||
| 23 | 24 | ||
| 24 | /* Note that this declares bzero on OSF/1. How dumb. */ | 25 | /* Note that this declares bzero on OSF/1. How dumb. */ |
| 25 | 26 | ||
| @@ -58,7 +59,7 @@ extern char *sbrk (); | |||
| 58 | 59 | ||
| 59 | /* The following come from gmalloc.c. */ | 60 | /* The following come from gmalloc.c. */ |
| 60 | 61 | ||
| 61 | #if defined (__STDC__) && __STDC__ | 62 | #if defined (STDC_HEADERS) |
| 62 | #include <stddef.h> | 63 | #include <stddef.h> |
| 63 | #define __malloc_size_t size_t | 64 | #define __malloc_size_t size_t |
| 64 | #else | 65 | #else |