diff options
author | Guillem Jover <guillem@debian.org> | 2012-11-14 09:21:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-14 09:21:24 +0100 |
commit | 9c62c6b227bd98f6d26610ce0461124518731d0f (patch) | |
tree | 1d27f6d16b88492303ddabe585750fc9487fa795 /plugins/imkmsg/kmsg.c | |
parent | 0aa6afbc501611e2e0d0453b15e901344dfa6157 (diff) | |
download | rsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.tar.gz rsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.tar.bz2 rsyslog-9c62c6b227bd98f6d26610ce0461124518731d0f.zip |
bugfix: make rsyslog compile on kfreebsd again
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=380
Diffstat (limited to 'plugins/imkmsg/kmsg.c')
-rw-r--r-- | plugins/imkmsg/kmsg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/imkmsg/kmsg.c b/plugins/imkmsg/kmsg.c index 9ad98da4..b771d68a 100644 --- a/plugins/imkmsg/kmsg.c +++ b/plugins/imkmsg/kmsg.c @@ -32,7 +32,9 @@ #include <errno.h> #include <string.h> #include <ctype.h> +#ifdef OS_LINUX #include <sys/klog.h> +#endif #include <json/json.h> #include "rsyslog.h" |