diff --git a/driver/CMakeLists.txt b/driver/CMakeLists.txt index bd9a15f..c5ff72f 100644 --- a/driver/CMakeLists.txt +++ b/driver/CMakeLists.txt @@ -16,7 +16,9 @@ execute_process( # Find the headers find_path( KERNELHEADERS_DIR - include/linux/user.h + NAMES + include/linux/user.h + include/generated/autoconf.h PATHS /usr/src/linux-headers-${KERNEL_RELEASE} )