diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-11 08:29:27 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-06-11 08:29:27 +0000 |
commit | 81378442ff2a89b20595ee52a25b21383df7bf9d (patch) | |
tree | f4484d4b8ad290fbd52fb38992d8cdf7339089cf /klogd.c | |
parent | 81ae51f0393e75b0e65c9b1e84d399e54f2dd7c4 (diff) | |
download | rsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.tar.gz rsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.tar.bz2 rsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.zip |
changes to make klogd integration compile under freebsd
Diffstat (limited to 'klogd.c')
-rw-r--r-- | klogd.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef WITH_KLOGD /* * Steve Lord (lord@cray.com) 7th Nov 92 * @@ -1169,6 +1170,13 @@ int main(argc, argv) } } } +#else /* #ifdef WITH_KLOGD */ +#include <stdio.h> +void main() +{ + fprintf(stderr, "FEATURE_KLOGD was disabled during this build, so klogd is not available.\n"); +} +#endif /* #ifdef WITH_KLOGD */ /* * Local variables: * c-indent-level: 8 |