From f821a3983e35ac7aca2e8c0597f63eb5fa2fd031 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 3 Apr 2024 17:32:20 +0200 Subject: [PATCH] BUILD: systemd: fix build error on non-systemd systems with USE_SYSTEMD=1 Thanks to previous commit, we can now build with USE_SYSTEMD=1 on any system without requiring any parts from systemd. It just turns our that there was one remaining include in haproxy.c that needed to be replaced with haproxy/systemd.h to build correctly. That's what this commit does. --- src/haproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haproxy.c b/src/haproxy.c index 7b2a18a72..0fcc3e541 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -60,7 +60,7 @@ #include #endif #if defined(USE_SYSTEMD) -#include +#include #endif #include