diff --git a/meson.build b/meson.build index 10c99fb..bac2695 100644 --- a/meson.build +++ b/meson.build @@ -39,6 +39,7 @@ wlroots = dependency('wlroots', version: '>= 0.15.0', fallback: ['wlroots wayland_protos = dependency('wayland-protocols', version: '>=1.14') wayland_server = dependency('wayland-server') xkbcommon = dependency('xkbcommon') +math = dependency('m') wl_protocol_dir = wayland_protos.get_pkgconfig_variable('pkgdatadir') wayland_scanner = find_program('wayland-scanner') @@ -153,6 +154,7 @@ executable( wayland_server, wlroots, xkbcommon, + math, ], install: true, ) diff --git a/util.c b/util.c index 714c7e3..22b5176 100644 --- a/util.c +++ b/util.c @@ -6,6 +6,8 @@ * See the LICENSE file accompanying this file. */ +#include + #include "util.h" int