On Tue, Apr 8, 2014 at 10:13 AM, Daniel Stone <dan...@fooishbar.org> wrote: > Hi, > > On 8 April 2014 17:24, Kristian Høgsberg <k...@bitplanet.net> wrote: >> >> diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c >> index 5cecefd..844745a 100644 >> --- a/hw/xwayland/xwayland.c >> +++ b/hw/xwayland/xwayland.c >> @@ -573,8 +573,10 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char >> **argv) >> >> fbPictureInit(pScreen, 0, 0); >> >> +#ifdef HAVE_XSHMFENCE >> if (!miSyncShmScreenInit(pScreen)) >> return FALSE; >> +#endif >> >> xwl_screen->wayland_fd = wl_display_get_fd(xwl_screen->display); >> AddGeneralSocket(xwl_screen->wayland_fd); > > > Doesn't this also need the syncshm.h include guarded?
No, the header is just the protoype for miSyncShmScreenInit(). Kristian > The other two, though: > Reviewed-by: Daniel Stone <dan...@fooishbar.org> > > Cheers, > Daniel _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel