Commit a7f32562 authored by Niels Möller's avatar Niels Möller
Browse files

Conditionally include malloc.h.

Rev: src/argp/ChangeLog:1.23
Rev: src/argp/argp-help.c:1.22
Rev: src/argp/argp-parse.c:1.24
parent 30d1c124
2004-03-02 Niels Mller <nisse@lysator.liu.se>
* argp-parse.c, argp-help.c: Conditionally include malloc.h.
2004-03-01 Niels Mller <nisse@lysator.liu.se>
* argp-fmtstream.h [!HAVE_UNISTD_H]: Define ssize_t as int.
......
......@@ -47,8 +47,10 @@ char *alloca ();
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
/* Does any system still need malloc.h? If so, we'd need a configure
test. */
#if HAVE_MALLOC_H
/* Needed, for alloca on windows */
# include <malloc.h>
#endif
#ifndef _
/* This is for other GNU distributions with internationalized messages. */
......
......@@ -49,6 +49,11 @@ char *alloca ();
#include <limits.h>
#include <assert.h>
#if HAVE_MALLOC_H
/* Needed, for alloca on windows */
# include <malloc.h>
#endif
#ifndef _
/* This is for other GNU distributions with internationalized messages.
When compiling libc, the _ macro is predefined. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment