summaryrefslogtreecommitdiff
path: root/src/udev/dmi_memory_id
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/udev/dmi_memory_id
parent5600a26114d7c93592d3b030e0d02be62919ad51 (diff)
downloadsystemd-47350c5fb64e7c76e071a928bf9251dfe79d3ab3.tar.gz
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/udev/dmi_memory_id')
-rw-r--r--src/udev/dmi_memory_id/dmi_memory_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/dmi_memory_id/dmi_memory_id.c b/src/udev/dmi_memory_id/dmi_memory_id.c
index c5bea8c9a8..64eba0d314 100644
--- a/src/udev/dmi_memory_id/dmi_memory_id.c
+++ b/src/udev/dmi_memory_id/dmi_memory_id.c
@@ -45,12 +45,12 @@
#include <getopt.h>
#include "alloc-util.h"
-#include "build.h"
#include "fileio.h"
#include "main-func.h"
#include "string-util.h"
#include "udev-util.h"
#include "unaligned.h"
+#include "version.h"
#define SUPPORTED_SMBIOS_VER 0x030300