udev.c: Do not require libudev.h if DNO_LIBUDEV
PATCH 1/1 udev.c: Do not require libudev.h if DNO_LIBUDEV
libudev may not be presented at all, do not require it.
Reported-by Boian Bonev <[email protected]>
Signed-off-by Mariusz Tkaczyk <[email protected]>
--- udev.c | 3 +++ 1 file changed, 3 insertions(+)
udev.c +3 -0
@@ -26,7 +26,10 @@#include <signal.h> #include <limits.h> #include <syslog.h> + +#ifndef NO_LIBUDEV #include <libudev.h> +#endif static char *unblock_path;
Signature · 1 line
2.35.3
Quoted 5 lines · On Wed, 6 Mar 2024 15:50:55 +0100 Mariusz Tkaczyk…
libudev may not be presented at all, do not require it.
Reported-by Boian Bonev <[email protected]>Signed-off-by Mariusz Tkaczyk <[email protected]>---
No comments..
Applied!
Thanks,
Mariusz