mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -39,8 +39,10 @@
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#endif
|
#endif
|
||||||
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
|
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
|
||||||
|
#ifndef O_PATH
|
||||||
#define O_PATH 0
|
#define O_PATH 0
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <spa/utils/result.h>
|
#include <spa/utils/result.h>
|
||||||
#include <spa/utils/string.h>
|
#include <spa/utils/string.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue