$NetBSD: patch-aa,v 1.11 2012/08/20 08:34:44 christos Exp $

--- ui/gtk/time_shift_dlg.c.orig	2012-06-05 19:33:15.000000000 +0300
+++ ui/gtk/time_shift_dlg.c	2012-08-19 19:30:08.000000000 +0300
@@ -90,6 +90,10 @@
  */
 static GtkWidget *time_shift_frame_w;
 
+#ifndef HAVE_FLOORL
+#define floorl(a) floor((double)(a))
+#endif
+
 void
 time_shift_cb(GtkWidget *w _U_, gpointer d _U_)
 {
