path: root/src/lib/ecore_drm
diff options
authorStefan Schmidt <stefan@osg.samsung.com>2016-01-13 17:03:36 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-01-13 17:06:39 +0100
commitd1609c2afe0e91c8a38b000545ed8137e49dc184 (patch)
treeea3558e623dc56647b647b56333065e356e011e1 /src/lib/ecore_drm
parentbuild: check for dlopen() when we build the ecore_evas drm module (diff)
ecore_drm: make sure we include math.h and link against libm for floor()
When we introduced the usage of floor() in ecore_drm_evdev.c we forgot to include math.h for it as well as linking against libm. This caused linking failures on some systems while it still worked on others. Better fix it for good. Original patch by aerodynamik. ref https://phab.enlightenment.org/T2953
Diffstat (limited to 'src/lib/ecore_drm')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index 1f21dd6b76..b2c2b994ec 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -4,6 +4,7 @@
#include "ecore_drm_private.h"
#include <ctype.h>
+#include <math.h>
static void _device_modifiers_update(Ecore_Drm_Evdev *edev);