aboutsummaryrefslogtreecommitdiffstats
path: root/ui/time_shift.c
diff options
context:
space:
mode:
authorStephen Fisher <sfisher@sdf.org>2014-12-19 15:54:04 -0700
committerStephen Fisher <sfisher@sdf.org>2014-12-19 22:56:18 +0000
commite2586ec36d0d924b933d2127e809918b980cb413 (patch)
treea097b880e727489e90d0944fc9fa38c6fdb1ab77 /ui/time_shift.c
parente7d2c8dad585968752b41274d6f601bed5fb860a (diff)
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 <sfisher@sdf.org>
Diffstat (limited to 'ui/time_shift.c')
-rw-r--r--ui/time_shift.c2
1 files changed, 2 insertions, 0 deletions
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