Skip to content

xwayland: Fix build without <sys/random.h>

Olivier Fourdan requested to merge ofourdan/mutter:getrandom-fix into master

The include <sys/random.h> was added to glibc-2.25, previously was <linux/random.h>.

Adjust meson build and code to accomodate both.

Fixes: a8984a81 "xwayland: Generate a Xauth file and pass this to Xwayland when starting it"

Merge request reports