From 47350c5fb64e7c76e071a928bf9251dfe79d3ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 14 Apr 2021 13:17:22 +0200 Subject: 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. --- src/libudev/test-libudev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libudev') diff --git a/src/libudev/test-libudev.c b/src/libudev/test-libudev.c index 12bd0d6299..a751056795 100644 --- a/src/libudev/test-libudev.c +++ b/src/libudev/test-libudev.c @@ -6,7 +6,6 @@ #include #include "alloc-util.h" -#include "build.h" #include "fd-util.h" #include "libudev-list-internal.h" #include "libudev-util.h" @@ -15,6 +14,7 @@ #include "stdio-util.h" #include "string-util.h" #include "tests.h" +#include "version.h" static bool arg_monitor = false; -- cgit v1.2.1