diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-06 12:54:33 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-10-06 12:54:33 +0200 |
commit | d51d6847a84eeec573ce2dd4feeee991d3eb0bcc (patch) | |
tree | bdf68bf56466347d084285d31a84dcd2f38c1d3c /plugins/imuxsock | |
parent | c0de8c6dc4ec4ac270b0c313ea5a1d2689b44db3 (diff) | |
download | rsyslog-d51d6847a84eeec573ce2dd4feeee991d3eb0bcc.tar.gz rsyslog-d51d6847a84eeec573ce2dd4feeee991d3eb0bcc.tar.xz rsyslog-d51d6847a84eeec573ce2dd4feeee991d3eb0bcc.zip |
previous bugfix was incomplete, resolving this
Diffstat (limited to 'plugins/imuxsock')
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 5b548602..566dde1b 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -66,6 +66,10 @@ MODULE_TYPE_INPUT #endif #endif +/* emulate struct ucred for platforms that do not have it */ +#ifndef HAVE_SCM_CREDENTIALS +struct ucred { int pid; }; +#endif /* handle some defines missing on more than one platform */ #ifndef SUN_LEN |