summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-17 18:55:27 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-17 18:55:27 +1000
commite6b641a9a13d664fb7b98227218a0b3f65dfd40c (patch)
tree578b07287ad56ee300d3661671178dca82dcd3fb
parent56799c3f2aaa86df71534cd25dd9e6d05782fa5f (diff)
- (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
Include stdlib.h for malloc and friends.
-rw-r--r--ChangeLog6
-rw-r--r--openbsd-compat/fake-rfc2553.c2
-rw-r--r--openbsd-compat/setproctitle.c1
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 18851230..911fd371 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20060817
+ - (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
+ Include stdlib.h for malloc and friends.
+
20060816
- (djm) [audit-bsm.c] Sprinkle in some headers
@@ -5210,4 +5214,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4479 2006/08/16 01:40:45 djm Exp $
+$Id: ChangeLog,v 1.4480 2006/08/17 08:55:27 dtucker Exp $
diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c
index b69f7f13..b6ea3d21 100644
--- a/openbsd-compat/fake-rfc2553.c
+++ b/openbsd-compat/fake-rfc2553.c
@@ -36,6 +36,8 @@
*/
#include "includes.h"
+
+#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
index 7fec73f8..b511f664 100644
--- a/openbsd-compat/setproctitle.c
+++ b/openbsd-compat/setproctitle.c
@@ -36,6 +36,7 @@
#ifndef HAVE_SETPROCTITLE
#include <stdarg.h>
+#include <stdlib.h>
#include <unistd.h>
#ifdef HAVE_SYS_PSTAT_H
#include <sys/pstat.h>