summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSam Roberts <sroberts@uniserve.com>2002-04-27 00:15:44 +0000
committerSam Roberts <sroberts@uniserve.com>2002-04-27 00:15:44 +0000
commit4904868632554bde98f39c47d9e97c1b7834a9e2 (patch)
tree0b1cf670cd64ad3bf90ed0a92cb893394fe9424d /lib
parent891c12013fdb6c34f4e57be9888cea09b40d9c65 (diff)
downloadmailutils-4904868632554bde98f39c47d9e97c1b7834a9e2.tar.gz
mailutils-4904868632554bde98f39c47d9e97c1b7834a9e2.tar.bz2
Made inclusions of <malloc.h> conditional on autoconf check.
Diffstat (limited to 'lib')
-rw-r--r--lib/argp-help.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/argp-help.c b/lib/argp-help.c
index 3020e659d..e94b01e87 100644
--- a/lib/argp-help.c
+++ b/lib/argp-help.c
@@ -50,7 +50,9 @@ char *alloca ();
#include <string.h>
#include <assert.h>
#include <stdarg.h>
-#include <malloc.h>
+#ifdef HAVE_MALLOC_H
+# include <malloc.h>
+#endif
#include <ctype.h>
#ifdef HAVE_STRINGS_H

Return to:

Send suggestions and report system problems to the System administrator.