weston build on older linuxes, where CLOCK_BOOTTIME is not available. trivial patch attached.

Volker Eckert volrek at gmail.com
Wed Feb 25 16:12:32 PST 2015


hi all,

i can successfully build weston on debian 7 (kernel 3.2.0-4, glibc 2.13-38), if i make the use of CLOCK_BOOTTIME conditional on its availabilty (see patch). this might also apply on other older systems (certainly centos 6.5 is affected) and in terms of portability it probably makes sense to #ifdef all of the linux specific ones in the first place (?)

cheers,
Volker


-------------- next part --------------
A non-text attachment was scrubbed...
Name: weston.diff
Type: application/octet-stream
Size: 1022 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150226/7307b0c0/attachment.obj>


More information about the wayland-devel mailing list