aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-03-28 11:10:55 +0000
committerDave Love <[email protected]>2000-03-28 11:10:55 +0000
commite9b309ac910a5e3c13cca480b32a9231d76b2d9b (patch)
treebf0c78f033228ce81c983c90e96b33cf15bdb609 /src/alloc.c
parented0767d80f1d3ae00b4a89576b009e44398cc1ba (diff)
Include stdio.h. Test STDC_HEADERS, not __STDC__.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 9b82d45a0b..d7e4214c6c 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -20,6 +20,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
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 @@ extern char *sbrk ();
/* The following come from gmalloc.c. */
-#if defined (__STDC__) && __STDC__
+#if defined (STDC_HEADERS)
#include <stddef.h>
#define __malloc_size_t size_t
#else