diff options
Diffstat (limited to 'libbb/kernel_version.c')
-rw-r--r-- | libbb/kernel_version.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libbb/kernel_version.c b/libbb/kernel_version.c index 8b9c4ec..937d2db 100644 --- a/libbb/kernel_version.c +++ b/libbb/kernel_version.c @@ -7,9 +7,10 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include <sys/utsname.h> /* for uname(2) */ - #include "libbb.h" +/* After libbb.h, since it needs sys/types.h on some systems */ +#include <sys/utsname.h> /* for uname(2) */ + /* Returns current kernel version encoded as major*65536 + minor*256 + patch, * so, for example, to check if the kernel is greater than 2.2.11: |