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.
This commit is contained in:
Willy Tarreau 2024-04-03 17:32:20 +02:00
parent aa3632962f
commit f821a3983e

View File

@ -60,7 +60,7 @@
#include <assert.h>
#endif
#if defined(USE_SYSTEMD)
#include <systemd/sd-daemon.h>
#include <haproxy/systemd.h>
#endif
#include <import/sha1.h>