aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-07 07:58:57 +0000
committerErik Andersen <andersen@codepoet.org>2000-03-07 07:58:57 +0000
commitcbd0d625c7466af80f141e0ae24186e15987bf3e (patch)
tree2836566c6efad554fec2421e329486494f3bdbd0 /utility.c
parent06249f24f3d49da1fbd60b74672955849cf9d6a0 (diff)
downloadbusybox-cbd0d625c7466af80f141e0ae24186e15987bf3e.tar.gz
Fix up some #define stuff to ensure the Right Thing(tm)
happens with all combinations of BB_KILL and BB_KILLALL being defined. -Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utility.c b/utility.c
index 7de997474..789c6f228 100644
--- a/utility.c
+++ b/utility.c
@@ -1247,7 +1247,7 @@ extern int device_open(char *device, int mode)
#endif /* BB_INIT BB_SYSLOGD */
-#if defined BB_INIT || defined BB_HALT || defined BB_REBOOT
+#if defined BB_INIT || defined BB_HALT || defined BB_REBOOT || defined BB_KILLALL
#ifdef BB_FEATURE_USE_DEVPS_N_DEVMTAB
#include <linux/devps.h>
@@ -1353,7 +1353,7 @@ extern pid_t findPidByName( char* pidName)
return 0;
}
#endif /* BB_FEATURE_USE_DEVPS_N_DEVMTAB */
-#endif /* BB_INIT || BB_HALT || BB_REBOOT */
+#endif /* BB_INIT || BB_HALT || BB_REBOOT || KILLALL */
#if defined BB_GUNZIP \
|| defined BB_GZIP \