mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Also alias MAP_ANONYMOUS to MAP_ANON in shm.c, for FreeBSD.
This commit is contained in:
parent
2f7bce9375
commit
de40e41446
1 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,11 @@
|
|||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
/* This is deprecated on glibc but is still used by FreeBSD */
|
||||
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
|
||||
# define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
#include <pulse/gccmacro.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue