diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-24 14:51:00 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-24 14:51:00 +1000 |
commit | b8fe89c4d97ea9a5d7efb2c60108b8a7644f6a49 (patch) | |
tree | 60e9457b39b992a0bf19488f5e92d57d35b6fdb5 /openbsd-compat/setproctitle.c | |
parent | d8337c5e609b3bafda0008aef2636d6f17c622ef (diff) |
- (djm) [acss.c auth-krb5.c auth-options.c auth-pam.c auth-shadow.c]
[canohost.c channels.c cipher-acss.c defines.h dns.c gss-genr.c]
[gss-serv-krb5.c gss-serv.c log.h loginrec.c logintest.c readconf.c]
[servconf.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c]
[ssh.c sshconnect.c sshd.c openbsd-compat/bindresvport.c]
[openbsd-compat/bsd-arc4random.c openbsd-compat/bsd-misc.c]
[openbsd-compat/getrrsetbyname.c openbsd-compat/glob.c]
[openbsd-compat/mktemp.c openbsd-compat/port-linux.c]
[openbsd-compat/port-tun.c openbsd-compat/readpassphrase.c]
[openbsd-compat/setproctitle.c openbsd-compat/xmmap.c]
make the portable tree compile again - sprinkle unistd.h and string.h
back in. Don't redefine __unused, as it turned out to be used in
headers on Linux, and replace its use in auth-pam.c with ARGSUSED
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 32e987deb..7fec73f89 100644 --- a/openbsd-compat/setproctitle.c +++ b/openbsd-compat/setproctitle.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #ifdef HAVE_SYS_PSTAT_H | 40 | #ifdef HAVE_SYS_PSTAT_H |
41 | #include <sys/pstat.h> | 41 | #include <sys/pstat.h> |
42 | #endif | 42 | #endif |
43 | #include <string.h> | ||
43 | 44 | ||
44 | #define SPT_NONE 0 /* don't use it at all */ | 45 | #define SPT_NONE 0 /* don't use it at all */ |
45 | #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */ | 46 | #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */ |