diff src/alloc.c @ 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 a72abbd8dc16
children 451721e784a8
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