summaryrefslogtreecommitdiffstats
path: root/include/linux_version.h
blob: 2fa0d65ef538d02d978fe8e35872f54bfc4c88fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * No copyright is claimed.  This code is in the public domain; do with
 * it what you wish.
 */
#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 */