diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-06 21:25:24 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-06 21:25:24 +1000 |
commit | f78fb54412e34c2647c1bc9f895af00620f42730 (patch) | |
tree | f08dec769241c7b14420ba962fd23fe0f08c1c15 /openbsd-compat/bsd-openpty.c | |
parent | 32ab2ae3f352447537c959c2df785b8160a642d2 (diff) |
- (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 @@ | |||
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | 39 | ||
40 | #include <stdlib.h> | ||
41 | |||
40 | #ifdef HAVE_SYS_STAT_H | 42 | #ifdef HAVE_SYS_STAT_H |
41 | # include <sys/stat.h> | 43 | # include <sys/stat.h> |
42 | #endif | 44 | #endif |