diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-asprintf.c | 1 | ||||
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 2 | ||||
-rw-r--r-- | openbsd-compat/bsd-snprintf.c | 2 | ||||
-rw-r--r-- | openbsd-compat/glob.c | 2 |
4 files changed, 7 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 @@ | |||
23 | 23 | ||
24 | #include <errno.h> | 24 | #include <errno.h> |
25 | #include <stdarg.h> | 25 | #include <stdarg.h> |
26 | #include <stdlib.h> | ||
26 | 27 | ||
27 | #ifndef VA_COPY | 28 | #ifndef VA_COPY |
28 | # ifdef HAVE_VA_COPY | 29 | # ifdef HAVE_VA_COPY |
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 |
diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c index 9fdf4d3f0..47cbcff67 100644 --- a/openbsd-compat/bsd-snprintf.c +++ b/openbsd-compat/bsd-snprintf.c | |||
@@ -108,6 +108,8 @@ | |||
108 | 108 | ||
109 | #if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) | 109 | #if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) |
110 | 110 | ||
111 | #include <ctype.h> | ||
112 | #include <stdlib.h> | ||
111 | #include <string.h> | 113 | #include <string.h> |
112 | 114 | ||
113 | #ifdef HAVE_LONG_DOUBLE | 115 | #ifdef HAVE_LONG_DOUBLE |
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 | ||