diff options
author | Michael Biebl <biebl@debian.org> | 2012-11-13 22:42:43 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2012-11-13 22:56:29 +0100 |
commit | d6cf14c786c1155cf26684117d00cd4370b8cd8a (patch) | |
tree | db6b63bb90deb659796cae9a595b1c484c847f46 /debian/patches | |
parent | 1097337ecc9692743aafca7ded8d158286aee409 (diff) | |
download | rsyslog-d6cf14c786c1155cf26684117d00cd4370b8cd8a.tar.gz |
debian/patches/02-imkmsg-includes.patch: Don't include <sys/klog.h> on non-Linux plattforms.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/02-imkmsg-includes.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/02-imkmsg-includes.patch b/debian/patches/02-imkmsg-includes.patch new file mode 100644 index 0000000..8dda400 --- /dev/null +++ b/debian/patches/02-imkmsg-includes.patch @@ -0,0 +1,14 @@ +diff --git a/plugins/imkmsg/kmsg.c b/plugins/imkmsg/kmsg.c +index 9ad98da..b771d68 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" diff --git a/debian/patches/series b/debian/patches/series index 2113a56..131af03 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ # Debian patches for rsyslog 01-dont_create_db.patch +02-imkmsg-includes.patch |