summaryrefslogtreecommitdiffstats
path: root/ksym_mod.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-11 08:29:27 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-11 08:29:27 +0000
commit81378442ff2a89b20595ee52a25b21383df7bf9d (patch)
treef4484d4b8ad290fbd52fb38992d8cdf7339089cf /ksym_mod.c
parent81ae51f0393e75b0e65c9b1e84d399e54f2dd7c4 (diff)
downloadrsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.tar.gz
rsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.tar.xz
rsyslog-81378442ff2a89b20595ee52a25b21383df7bf9d.zip
changes to make klogd integration compile under freebsd
Diffstat (limited to 'ksym_mod.c')
-rw-r--r--ksym_mod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ksym_mod.c b/ksym_mod.c
index d61250f2..12f2c010 100644
--- a/ksym_mod.c
+++ b/ksym_mod.c
@@ -1,3 +1,4 @@
+#ifdef FEATURE_KLOGD
/*
ksym_mod.c - functions for building symbol lookup tables for klogd
Copyright (c) 1995, 1996 Dr. G.W. Wettstein <greg@wind.rmcc.com>
@@ -83,7 +84,6 @@
/* Includes. */
#include <stdlib.h>
-#include <malloc.h>
#include <unistd.h>
#include <signal.h>
#include <errno.h>
@@ -698,3 +698,4 @@ extern void Syslog(int priority, char *fmt, ...)
}
#endif
+#endif /* #ifdef FEATURE_KLOGD */