]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/linux_version.h
include: add missing license lines
[thirdparty/util-linux.git] / include / linux_version.h
1 /*
2 * No copyright is claimed. This code is in the public domain; do with
3 * it what you wish.
4 */
5 #ifndef LINUX_VERSION_H
6 #define LINUX_VERSION_H
7
8 #ifdef HAVE_LINUX_VERSION_H
9 # include <linux/version.h>
10 #endif
11
12 #ifndef KERNEL_VERSION
13 # define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
14 #endif
15
16 int get_linux_version(void);
17
18 #endif /* LINUX_VERSION_H */