summaryrefslogtreecommitdiffstats
path: root/udev.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 03:11:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 03:11:03 +0000
commit34c394519b9c898db784b09e3503ed21a7d3dbe9 (patch)
tree215fdd019f8ce6f7a919cf37fae0b98163f93787 /udev.c
parentAdding upstream version 4.3. (diff)
downloadmdadm-upstream.tar.xz
mdadm-upstream.zip
Adding upstream version 4.3+20240412.upstream/4.3+20240412upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev.c b/udev.c
index bc4722b..066e6ab 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;