summaryrefslogtreecommitdiffstats
path: root/src/test/test-udev.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-14 13:17:22 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-04-14 16:19:54 +0200
commit47350c5fb64e7c76e071a928bf9251dfe79d3ab3 (patch)
tree90b3755344724e68f54fd4832e4f18fcc23e51ba /src/test/test-udev.c
parentbpf-devices: update comment (diff)
downloadsystemd-47350c5fb64e7c76e071a928bf9251dfe79d3ab3.tar.xz
systemd-47350c5fb64e7c76e071a928bf9251dfe79d3ab3.zip
meson: simplify the BUILD_MODE conditional
Using a enum is all nice and generic, but at this point it seems unlikely that we'll add further build modes. But having an enum means that we need to include the header file with the enumeration whenerever the conditional is used. I want to use the conditional in log.h, which makes it hard to avoid circular imports.
Diffstat (limited to 'src/test/test-udev.c')
-rw-r--r--src/test/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index 488b965c82..6bb8a9e4fc 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -11,7 +11,6 @@
#include <sys/signalfd.h>
#include <unistd.h>
-#include "build.h"
#include "device-private.h"
#include "fs-util.h"
#include "log.h"
@@ -24,6 +23,7 @@
#include "string-util.h"
#include "tests.h"
#include "udev-event.h"
+#include "version.h"
static int fake_filesystems(void) {
static const struct fakefs {