wayland: __NR_memfd_create instead of SYS_memfd_create
It looks like the gnome-continuous headers haven't quite caught up yet, so try __NR_memfd_create instead. If that doesn't work, i'll likely just add in a fallback code path.
This commit is contained in:
@ -934,7 +934,7 @@ create_shm_pool (struct wl_shm *shm,
|
|||||||
int ret, fd;
|
int ret, fd;
|
||||||
void *data;
|
void *data;
|
||||||
|
|
||||||
ret = syscall (SYS_memfd_create, "gdk-wayland", MFD_CLOEXEC);
|
ret = syscall (__NR_memfd_create, "gdk-wayland", MFD_CLOEXEC);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user