mirror of
https://github.com/ericonr/util-linux.git
synced 2024-04-21 09:12:35 -05:00
Signed-off-by: Stefan Krah <stefan@bytereef.org> Signed-off-by: Karel Zak <kzak@redhat.com>
15 lines
267 B
C
15 lines
267 B
C
#ifndef LINUX_VERSION_H
|
|
#define LINUX_VERSION_H
|
|
|
|
#ifdef HAVE_LINUX_VERSION_H
|
|
# include <linux/version.h>
|
|
#endif
|
|
|
|
#ifndef KERNEL_VERSION
|
|
# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
|
#endif
|
|
|
|
int get_linux_version(void);
|
|
|
|
#endif /* LINUX_VERSION_H */
|