Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
27 lines
635 B
Diff
27 lines
635 B
Diff
From 1750758c7ff526e3560433f6235e5cfa35cf646a Mon Sep 17 00:00:00 2001
|
|
From: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
|
|
Date: Wed, 6 Mar 2024 15:50:55 +0100
|
|
Subject: 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 <bbonev@ipacct.com>
|
|
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
|
|
---
|
|
udev.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- 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;
|
|
|