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 /openbsd-compat | |
parent | 56799c3f2aaa86df71534cd25dd9e6d05782fa5f (diff) |
- (dtucker) [openbsd-compat/fake-rfc2553.c openbsd-compat/setproctitle.c]
Include stdlib.h for malloc and friends.
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/fake-rfc2553.c | 2 | ||||
-rw-r--r-- | openbsd-compat/setproctitle.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c index b69f7f13f..b6ea3d21e 100644 --- a/openbsd-compat/fake-rfc2553.c +++ b/openbsd-compat/fake-rfc2553.c | |||
@@ -36,6 +36,8 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | |||
40 | #include <stdlib.h> | ||
39 | #include <string.h> | 41 | #include <string.h> |
40 | 42 | ||
41 | #include <netinet/in.h> | 43 | #include <netinet/in.h> |
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c index 7fec73f89..b511f6649 100644 --- a/openbsd-compat/setproctitle.c +++ b/openbsd-compat/setproctitle.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #ifndef HAVE_SETPROCTITLE | 36 | #ifndef HAVE_SETPROCTITLE |
37 | 37 | ||
38 | #include <stdarg.h> | 38 | #include <stdarg.h> |
39 | #include <stdlib.h> | ||
39 | #include <unistd.h> | 40 | #include <unistd.h> |
40 | #ifdef HAVE_SYS_PSTAT_H | 41 | #ifdef HAVE_SYS_PSTAT_H |
41 | #include <sys/pstat.h> | 42 | #include <sys/pstat.h> |