aboutsummaryrefslogtreecommitdiff
path: root/libbb/kernel_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/kernel_version.c')
-rw-r--r--libbb/kernel_version.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbb/kernel_version.c b/libbb/kernel_version.c
index 9b6c62299..7769a091b 100644
--- a/libbb/kernel_version.c
+++ b/libbb/kernel_version.c
@@ -6,12 +6,10 @@
6 * 6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 7 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
8 */ 8 */
9
10#include "libbb.h" 9#include "libbb.h"
11/* After libbb.h, since it needs sys/types.h on some systems */ 10/* After libbb.h, since it needs sys/types.h on some systems */
12#include <sys/utsname.h> /* for uname(2) */ 11#include <sys/utsname.h> /* for uname(2) */
13 12
14
15/* Returns current kernel version encoded as major*65536 + minor*256 + patch, 13/* Returns current kernel version encoded as major*65536 + minor*256 + patch,
16 * so, for example, to check if the kernel is greater than 2.2.11: 14 * so, for example, to check if the kernel is greater than 2.2.11:
17 * 15 *