From 81378442ff2a89b20595ee52a25b21383df7bf9d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 11 Jun 2007 08:29:27 +0000 Subject: changes to make klogd integration compile under freebsd --- klogd.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'klogd.c') diff --git a/klogd.c b/klogd.c index 9dfa8b14..a7087e4c 100644 --- a/klogd.c +++ b/klogd.c @@ -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 +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 -- cgit