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/setproctitle.c | |
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/setproctitle.c')
-rw-r--r-- | openbsd-compat/setproctitle.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |