summaryrefslogtreecommitdiff
path: root/debian/patches/02-imkmsg-includes.patch
blob: 8dda400ab7ce394d4212e8fbd635a24e01627d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"