BUILD: systemd: fix build error on non-systemd systems with USE_SYSTEMD=1
authorWilly Tarreau <w@1wt.eu>
Wed, 3 Apr 2024 15:32:20 +0000 (17:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 3 Apr 2024 15:34:36 +0000 (17:34 +0200)
commitf821a3983e35ac7aca2e8c0597f63eb5fa2fd031
tree699f9e88e4da826cfdbe43feb320a660b69eaff7
parentaa3632962f2032063e76c0fe99085e83a947fedb
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