]> git.ipfire.org Git - thirdparty/kmod.git/commit
build: remove linux/module.h check
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Aug 2024 16:04:21 +0000 (17:04 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 23 Aug 2024 18:51:19 +0000 (13:51 -0500)
commitd469acd4d505f9ea76dbead86c58274fa5711fd6
tree78641fee6353d90bf979a0b84f0f9c992331309d
parentc296cc184258bea384c11f0a7d21f2fbb9d6f473
build: remove linux/module.h check

We include the header for the UAPI MODULE_INIT_* constants, while we
also provide them locally.

At a glance, at least Arch and Alpine build kmod without the uapi
header, so just drop the check and ifndef guards all together.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/86
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
configure.ac
libkmod/libkmod-module.c
shared/missing.h