aboutsummaryrefslogtreecommitdiffstats
path: root/ui/time_shift.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/time_shift.c')
-rw-r--r--ui/time_shift.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/time_shift.c b/ui/time_shift.c
index d9275526ec..0f7af738bc 100644
--- a/ui/time_shift.c
+++ b/ui/time_shift.c
@@ -33,7 +33,9 @@
#include "ui/ui_util.h"
-#include "wsutil/floor.h"
+#ifndef HAVE_FLOORL
+# include "wsutil/floor.h"
+#endif
#define SHIFT_POS 0
#define SHIFT_NEG 1