mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-26 14:13:19 +00:00
On FreeBSD do not try to redefine O_PATH.
FreeBSD 13+ versions do have O_PATH flag, but FreeBSD 12, which is still supported does not.
This commit is contained in:
parent
ad13681d33
commit
c6ffeeeb34
@ -39,8 +39,10 @@
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
|
||||
#ifndef O_PATH
|
||||
#define O_PATH 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <spa/utils/result.h>
|
||||
#include <spa/utils/string.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user