summaryrefslogtreecommitdiffstats
path: root/ksym.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.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.c')
-rw-r--r--ksym.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ksym.c b/ksym.c
index f3d4f868..feb45f63 100644
--- a/ksym.c
+++ b/ksym.c
@@ -1,3 +1,4 @@
+#ifdef FEATURE_KLOGD
/*
ksym.c - functions for kernel address->symbol translation
Copyright (c) 1995, 1996 Dr. G.W. Wettstein <greg@wind.rmcc.com>
@@ -110,7 +111,6 @@
/* Includes. */
#include <stdlib.h>
-#include <malloc.h>
#include <sys/utsname.h>
#include <ctype.h>
#include "klogd.h"
@@ -980,3 +980,4 @@ extern void Syslog(int priority, char *fmt, ...)
return;
}
#endif
+#endif /* #ifdef FEATURE_KLOGD */