summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/bsd-asprintf.c1
-rw-r--r--openbsd-compat/bsd-openpty.c2
-rw-r--r--openbsd-compat/bsd-snprintf.c2
-rw-r--r--openbsd-compat/glob.c2
5 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 60a1fd753..1efc7ba36 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
12006086 12006086
2 - (dtucker) [defines.h] With the includes.h changes we no longer get the 2 - (dtucker) [defines.h] With the includes.h changes we no longer get the
3 name clash on "YES" so we can remove the workaround for it. 3 name clash on "YES" so we can remove the workaround for it.
4 - (dtucker) [openbsd-compat/{bsd-asprintf.c,bsd-openpty.c,bsd-snprintf.c,
5 glob.c}] Include stdlib.h for malloc and friends in compat code.
4 6
520060805 720060805
6 - (djm) OpenBSD CVS Sync 8 - (djm) OpenBSD CVS Sync
@@ -5198,4 +5200,4 @@
5198 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5200 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5199 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5201 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5200 5202
5201$Id: ChangeLog,v 1.4475 2006/08/06 11:23:27 dtucker Exp $ 5203$Id: ChangeLog,v 1.4476 2006/08/06 11:25:24 dtucker Exp $
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