summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/glob.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-06 21:25:24 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-06 21:25:24 +1000
commitf78fb54412e34c2647c1bc9f895af00620f42730 (patch)
treef08dec769241c7b14420ba962fd23fe0f08c1c15 /openbsd-compat/glob.c
parent32ab2ae3f352447537c959c2df785b8160a642d2 (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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/glob.c b/openbsd-compat/glob.c
index 90723535..ec16b110 100644
--- a/openbsd-compat/glob.c
+++ b/openbsd-compat/glob.c
@@ -37,10 +37,12 @@
#include <sys/types.h>
#include <sys/stat.h>
+
#include <dirent.h>
#include <ctype.h>
#include <errno.h>
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>