mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-11 16:16:42 +02:00
Fix build on FreeBSD (Issue #752)
This commit is contained in:
parent
ae16e74f60
commit
f254d59832
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ void PipeStream::do_connect()
|
|||
{
|
||||
int fd = open(uri_.path.c_str(), O_RDONLY | O_NONBLOCK);
|
||||
int pipe_size = -1;
|
||||
#if !defined(MACOS)
|
||||
#if !defined(MACOS) && !defined(FREEBSD)
|
||||
pipe_size = fcntl(fd, F_GETPIPE_SZ);
|
||||
#endif
|
||||
LOG(TRACE, LOG_TAG) << "Stream: " << name_ << ", connect to pipe: " << uri_.path << ", fd: " << fd << ", pipe size: " << pipe_size << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue