On Mon, Sep 23, 2013 at 11:25:29AM +0100, Stefan Schmidt wrote: > Linking failed with missing ceil() here. Making sure that we include > the header and add the missing -lm. > > Signed-off-by: Stefan Schmidt <s.schm...@samsung.com>
Thanks, applied. Kristian > --- > clients/Makefile.am | 2 +- > clients/multi-resource.c | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/clients/Makefile.am b/clients/Makefile.am > index d4bee2a..4f9dc48 100644 > --- a/clients/Makefile.am > +++ b/clients/Makefile.am > @@ -51,7 +51,7 @@ weston_multi_resource_SOURCES = multi-resource.c \ > ../shared/os-compatibility.c \ > ../shared/os-compatibility.h > weston_multi_resource_CPPFLAGS = $(SIMPLE_CLIENT_CFLAGS) > -weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) > +weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) -lm > endif > > if BUILD_SIMPLE_EGL_CLIENTS > diff --git a/clients/multi-resource.c b/clients/multi-resource.c > index 1c2e5c9..6f93618 100644 > --- a/clients/multi-resource.c > +++ b/clients/multi-resource.c > @@ -35,6 +35,7 @@ > #include <time.h> > #include <sys/poll.h> > #include <float.h> > +#include <math.h> > > #include <wayland-client.h> > #include "../shared/os-compatibility.h" > -- > 1.7.9.5 > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel