diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-17 18:55:27 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-17 18:55:27 +1000 |
commit | e6b641a9a13d664fb7b98227218a0b3f65dfd40c (patch) | |
tree | 578b07287ad56ee300d3661671178dca82dcd3fb | |
parent | 56799c3f2aaa86df71534cd25dd9e6d05782fa5f (diff) |
- (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
Include stdlib.h for malloc and friends.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/fake-rfc2553.c | 2 | ||||
-rw-r--r-- | openbsd-compat/setproctitle.c | 1 |
3 files changed, 8 insertions, 1 deletions
@@ -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> |