summaryrefslogtreecommitdiffstats
path: root/ksym.c
diff options
context:
space:
mode:
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 */