aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-03-12 10:00:17 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-03-12 10:00:17 +0000
commitfe4e13fb972aef69e1d041b726ebecdf000e91ee (patch)
treebb5e42dcaa31d4898bc646d473501aea6d2355d2
parent22b889a9988808f9e3fc7cc348f6c44232bd8ed6 (diff)
downloadbusybox-fe4e13fb972aef69e1d041b726ebecdf000e91ee.tar.gz
Add missing dependency -- interface.c needs get_kernel_revision.
-rw-r--r--utility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility.c b/utility.c
index 092cfdb10..e54a3ea65 100644
--- a/utility.c
+++ b/utility.c
@@ -155,7 +155,7 @@ extern void perror_msg_and_die(const char *s, ...)
exit(EXIT_FAILURE);
}
-#if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT || defined BB_NFSMOUNT
+#if defined BB_INIT || defined BB_MKSWAP || defined BB_MOUNT || defined BB_NFSMOUNT || defined BB_FEATURE_IFCONFIG_STATUS
/* Returns kernel version encoded as major*65536 + minor*256 + patch,
* so, for example, to check if the kernel is greater than 2.2.11:
* if (get_kernel_revision() <= 2*65536+2*256+11) { <stuff> }