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
@@ -26,7 +26,7 @@
#include "tcp-probe.h"
#include "log.h"
#ifdef LIBBSD
#if HAVE_LIBBSD
#include <bsd/unistd.h>
#endif
@@ -147,7 +147,7 @@ void stop_listeners(int sig)
void set_listen_procname(struct listen_endpoint *listen_socket)
{
#ifdef LIBBSD
#if HAVE_LIBBSD
int res;
struct addrinfo addr;
struct sockaddr_storage ss;