mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 18:12:10 +03:00
move libbsd support to autoconf detection
This commit is contained in:
1 parent
dcfa3fa2db
commit
22a8ba9ef5
8 files changed
+55
-16
No files matched your search
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user