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/glob.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/glob.c')
-rw-r--r-- | openbsd-compat/glob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c index 907235353..ec16b1108 100644 --- a/openbsd-compat/glob.c +++ b/openbsd-compat/glob.c | |||
@@ -37,10 +37,12 @@ | |||
37 | 37 | ||
38 | #include <sys/types.h> | 38 | #include <sys/types.h> |
39 | #include <sys/stat.h> | 39 | #include <sys/stat.h> |
40 | |||
40 | #include <dirent.h> | 41 | #include <dirent.h> |
41 | #include <ctype.h> | 42 | #include <ctype.h> |
42 | #include <errno.h> | 43 | #include <errno.h> |
43 | #include <pwd.h> | 44 | #include <pwd.h> |
45 | #include <stdlib.h> | ||
44 | #include <string.h> | 46 | #include <string.h> |
45 | #include <unistd.h> | 47 | #include <unistd.h> |
46 | 48 | ||