changeset 28374:7a3e8a76057b

Include stdio.h. Test STDC_HEADERS, not __STDC__.
author Dave Love <fx@gnu.org>
date Tue, 28 Mar 2000 11:08:24 +0000
parents 4f656f055122
children 97d3bd5a4f70
files src/alloc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Mon Mar 27 22:26:54 2000 +0000
+++ b/src/alloc.c	Tue Mar 28 11:08:24 2000 +0000
@@ -20,6 +20,7 @@
 Boston, MA 02111-1307, USA.  */
 
 #include <config.h>
+#include <stdio.h>
 
 /* Note that this declares bzero on OSF/1.  How dumb.  */
 
@@ -58,7 +59,7 @@
 
 /* The following come from gmalloc.c.  */
 
-#if defined (__STDC__) && __STDC__
+#if defined (STDC_HEADERS)
 #include <stddef.h>
 #define	__malloc_size_t		size_t
 #else