From e2586ec36d0d924b933d2127e809918b980cb413 Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Fri, 19 Dec 2014 15:54:04 -0700 Subject: Provide a floorl() function (which is currently only able to call GCC's __builtin_floorl() function) for systems which don't provide one. Change-Id: Ie0140ff195f0eae525c7bd70c7c3e23039fde569 Reviewed-on: https://code.wireshark.org/review/5889 Reviewed-by: Stephen Fisher --- ui/time_shift.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui') diff --git a/ui/time_shift.c b/ui/time_shift.c index 3363c50f40..d9275526ec 100644 --- a/ui/time_shift.c +++ b/ui/time_shift.c @@ -33,6 +33,8 @@ #include "ui/ui_util.h" +#include "wsutil/floor.h" + #define SHIFT_POS 0 #define SHIFT_NEG 1 #define SHIFT_SETTOZERO 1 -- cgit v1.2.3