From: Willy Tarreau Date: Wed, 3 Apr 2024 15:32:20 +0000 (+0200) Subject: BUILD: systemd: fix build error on non-systemd systems with USE_SYSTEMD=1 X-Git-Tag: v3.0-dev7~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f821a3983e35ac7aca2e8c0597f63eb5fa2fd031;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/haproxy.c b/src/haproxy.c index 7b2a18a72a..0fcc3e5416 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -60,7 +60,7 @@ #include #endif #if defined(USE_SYSTEMD) -#include +#include #endif #include