mirror of
https://git.busybox.net/busybox
synced 2026-02-07 20:50:26 +00:00
Add missing dependency -- interface.c needs get_kernel_revision.
This commit is contained in:
parent
22b889a998
commit
fe4e13fb97
1 changed files with 1 additions and 1 deletions
|
|
@ -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> }
|
||||
|
|
|
|||
Loading…
Reference in a new issue