Include additional headers for compatibility with old kernel versions (e.g. 3.10)
Signed-off-by: Claudio Scordino <[email protected]> --- driver/sysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/sysfs.c b/driver/sysfs.c index 4ee5d00..be53dbe 100644 --- a/driver/sysfs.c +++ b/driver/sysfs.c @@ -19,6 +19,8 @@ /* For compatibility with older kernel versions */ #include <linux/version.h> +#include <linux/gfp.h> +#include <linux/stat.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0) #define DEVICE_ATTR_RO(_name) \ -- 2.7.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
