diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-06 13:25:24 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-06 13:25:24 +0200 |
commit | f78fb54412e34c2647c1bc9f895af00620f42730 (patch) | |
tree | f08dec769241c7b14420ba962fd23fe0f08c1c15 /openbsd-compat/bsd-openpty.c | |
parent | - (dtucker) [defines.h] With the includes.h changes we no longer get the (diff) | |
download | openssh-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-openpty.c')
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index a2f2fda60..c0cde6b1f 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c @@ -37,6 +37,8 @@ #include <sys/types.h> +#include <stdlib.h> + #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif |