summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-asprintf.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-06 13:25:24 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-08-06 13:25:24 +0200
commitf78fb54412e34c2647c1bc9f895af00620f42730 (patch)
treef08dec769241c7b14420ba962fd23fe0f08c1c15 /openbsd-compat/bsd-asprintf.c
parent - (dtucker) [defines.h] With the includes.h changes we no longer get the (diff)
downloadopenssh-f78fb54412e34c2647c1bc9f895af00620f42730.tar.xz
openssh-f78fb54412e34c2647c1bc9f895af00620f42730.zip
- (dtucker) [openbsd-compat/{bsd-asprintf.c,bsd-openpty.c,bsd-snprintf.c,
glob.c}] Include stdlib.h for malloc and friends in compat code.
Diffstat (limited to 'openbsd-compat/bsd-asprintf.c')
-rw-r--r--openbsd-compat/bsd-asprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-asprintf.c b/openbsd-compat/bsd-asprintf.c
index 1178296f8..67480139e 100644
--- a/openbsd-compat/bsd-asprintf.c
+++ b/openbsd-compat/bsd-asprintf.c
@@ -23,6 +23,7 @@
#include <errno.h>
#include <stdarg.h>
+#include <stdlib.h>
#ifndef VA_COPY
# ifdef HAVE_VA_COPY