Unbreak build on FreeBSD
Created by: jbeich
-
POSIX says
CLOCK_MONOTONIC
was introduced in Issue 6 - BSDs don't search headers from packages by default but pkg-config uses
-I
which trips-Werror
$ meson setup _build && meson compile -C _build && meson test -C _build
[...]
Ok: 30
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
$ vidcontrol -s 1 </dev/ttyv0
$ for f (_build/example/*(*)) { echo "==> Running $f:t"; ./$f; echo; }
==> Running compositor
Using connector 99, CRTC 48
Created FB 116 with size 3840x2160
Created FB 118 with size 3840x2160
Created FB 119 with size 256x256
Created FB 120 with size 256x256
Created FB 121 with size 256x256
Created FB 122 with size 256x256
Created FB 123 with size 256x256
Composition layer got assigned to plane 0
Layer 0 got assigned to plane 0
Layer 1 got assigned to plane 0
Layer 2 got assigned to plane 0
Layer 3 got assigned to plane 0
Layer 4 got assigned to plane 0
Layer 5 got assigned to plane 0
==> Running dynamic
Using connector 99, CRTC 48
drmModeAtomicCommit: Invalid argument
poll: Invalid argument
==> Running multi-output
Using connector 99, CRTC 48
Created FB 116 with size 3840x2160
Created FB 118 with size 256x256
Created FB 119 with size 256x256
Created FB 120 with size 256x256
drmModeAtomicCommit: Invalid argument
==> Running simple
Using connector 99, CRTC 48
Created FB 117 with size 3840x2160
Created FB 118 with size 256x256
Created FB 119 with size 256x256
Created FB 120 with size 256x256
drmModeAtomicCommit: Invalid argument