diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-05 11:10:43 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-05 11:10:43 +0100 |
commit | 2e388db9ac91eae35ac836b329c8bcadd319a409 (patch) | |
tree | 1ecfb38d83a1cc1d9a6b1d3ad1c4b45fdc0cc755 /runtime/wti.c | |
parent | 42db7de5968d2db0fa855a9f029f6bccc0a30650 (diff) | |
download | rsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.tar.gz rsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.tar.xz rsyslog-2e388db9ac91eae35ac836b329c8bcadd319a409.zip |
integrated various patches for solaris
Unfortunatley, I do not have the full list of contributors
available. The patch set was compiled by Ben Taylor, and I made
some further changes to adopt it to the news rsyslog branch. Others
provided much of the base work, but I can not find the names of the
original authors. If you happen to be one of them, please let me
know so that I can give proper credits.
Diffstat (limited to 'runtime/wti.c')
-rw-r--r-- | runtime/wti.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/wti.c b/runtime/wti.c index e8a77474..9b3450e6 100644 --- a/runtime/wti.c +++ b/runtime/wti.c @@ -39,6 +39,11 @@ #include <pthread.h> #include <errno.h> +#ifdef OS_SOLARIS +# include <sched.h> +# define pthread_yield() sched_yield() +#endif + #include "rsyslog.h" #include "stringbuf.h" #include "srUtils.h" |