diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-24 11:37:28 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-06-24 11:37:28 +0200 |
commit | 5141493d3238e29655fbb4b250a612d435db000e (patch) | |
tree | 2ffc623f1de5ca2473d58d7f76bc2be028a46c67 | |
parent | b57911b01893efabef8ad834dd67b1ea3ce9d4be (diff) | |
download | rsyslog-5141493d3238e29655fbb4b250a612d435db000e.tar.gz rsyslog-5141493d3238e29655fbb4b250a612d435db000e.tar.bz2 rsyslog-5141493d3238e29655fbb4b250a612d435db000e.zip |
impstats: solve build problem on FreeBSD
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=458
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | plugins/impstats/impstats.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,9 @@ --------------------------------------------------------------------------- +Version 7.4.2 [v7.4-stable] 2013-06-?? +- solved build problems on FreeBSD + closes: http://bugzilla.adiscon.com/show_bug.cgi?id=458 + Thanks to Christiano for reproting and suggesting patches +--------------------------------------------------------------------------- Version 7.4.1 [v7.4-stable] 2013-06-17 - imjournal: add ratelimiting capability The original imjournal code did not support ratelimiting at all. We diff --git a/plugins/impstats/impstats.c b/plugins/impstats/impstats.c index cdd205fd..79749e21 100644 --- a/plugins/impstats/impstats.c +++ b/plugins/impstats/impstats.c @@ -29,6 +29,10 @@ #include <pthread.h> #include <fcntl.h> #include <sys/uio.h> +#if defined(__FreeBSD__) +#include <sys/stat.h> +#endif + #include "dirty.h" #include "cfsysline.h" #include "module-template.h" |