| bigbiff bigbiff | e60683a | 2013-02-22 20:55:50 -0500 | [diff] [blame] | 1 | #ifndef LINUX_VERSION_H |
| 2 | #define LINUX_VERSION_H | ||||
| 3 | |||||
| 4 | #ifdef HAVE_LINUX_VERSION_H | ||||
| 5 | # include <linux/version.h> | ||||
| 6 | #endif | ||||
| 7 | |||||
| 8 | #ifndef KERNEL_VERSION | ||||
| 9 | # define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) | ||||
| 10 | #endif | ||||
| 11 | |||||
| 12 | int get_linux_version(void); | ||||
| 13 | |||||
| 14 | #endif /* LINUX_VERSION_H */ | ||||