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
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user