libudev may not be presented at all, do not require it. Reported-by: Boian Bonev <bbonev@xxxxxxxxxx> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@xxxxxxxxxxxxxxx> --- udev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev.c b/udev.c index bc4722b0ef94..066e6ab1c292 100644 --- a/udev.c +++ b/udev.c @@ -26,7 +26,10 @@ #include <signal.h> #include <limits.h> #include <syslog.h> + +#ifndef NO_LIBUDEV #include <libudev.h> +#endif static char *unblock_path; -- 2.35.3