Problem: build broken on debian/hurd

Solution: fix it
This commit is contained in:
Luca Boccassi 2021-01-16 17:34:55 +00:00
parent e58f047791
commit 2347a76413
4 changed files with 6 additions and 3 deletions

View File

@ -1401,7 +1401,6 @@ if ON_GNU
XFAIL_TESTS += tests/test_ipc_wildcard \ XFAIL_TESTS += tests/test_ipc_wildcard \
tests/test_reqrep_ipc \ tests/test_reqrep_ipc \
tests/test_pair_ipc \ tests/test_pair_ipc \
tests/test_rebind_ipc \
tests/test_term_endpoint tests/test_term_endpoint
endif endif

View File

@ -67,6 +67,10 @@
#endif #endif
#endif #endif
#ifndef PATH_MAX
#define PATH_MAX 1024
#endif
const char *SEQ_END = (const char *) 1; const char *SEQ_END = (const char *) 1;
const char bounce_content[] = "12345678ABCDEFGH12345678abcdefgh"; const char bounce_content[] = "12345678ABCDEFGH12345678abcdefgh";

View File

@ -298,7 +298,7 @@ void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_)
test_bind (socket_, "tipc://<*>", my_endpoint_, len_); test_bind (socket_, "tipc://<*>", my_endpoint_, len_);
} }
#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU) #if defined(ZMQ_HAVE_IPC)
void make_random_ipc_endpoint (char *out_endpoint_) void make_random_ipc_endpoint (char *out_endpoint_)
{ {
#ifdef ZMQ_HAVE_WINDOWS #ifdef ZMQ_HAVE_WINDOWS

View File

@ -272,7 +272,7 @@ void bind_loopback_ipc (void *socket_, char *my_endpoint_, size_t len_);
// Binds to an ipc endpoint using the tipc wildcard address. // Binds to an ipc endpoint using the tipc wildcard address.
void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_); void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_);
#if defined(ZMQ_HAVE_IPC) && !defined(ZMQ_HAVE_GNU) #if defined(ZMQ_HAVE_IPC)
// utility function to create a random IPC endpoint, similar to what a ipc://* // utility function to create a random IPC endpoint, similar to what a ipc://*
// wildcard binding does, but in a way it can be reused for multiple binds // wildcard binding does, but in a way it can be reused for multiple binds
// TODO also add a len parameter here // TODO also add a len parameter here