move libbsd support to autoconf detection

This commit is contained in:
yrutschle committed 2025-02-19 09:25:59 +01:00
1 parent dcfa3fa2db
commit 22a8ba9ef5
8 files changed
+55 -16

No files matched your search

+2 -2
View File
@@ -36,7 +36,7 @@
#include <systemd/sd-daemon.h>
#endif
#ifdef LIBBSD
#ifdef HAVE_LIBBSD
#include <bsd/unistd.h>
#endif
@@ -755,7 +755,7 @@ int get_connection_desc(struct connection_desc* desc, const struct connection *c
void set_proctitle_shovel(struct connection_desc* desc, const struct connection *cnx)
{
#ifdef LIBBSD
#ifdef HAVE_LIBBSD
struct connection_desc d;
if (!desc) {