summaryrefslogtreecommitdiff
path: root/net/wireshark/patches/patch-aa
blob: 2bd7f3c10a680dc647cafb839547559b1e5a4cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.13 2013/12/18 11:52:25 tron Exp $

Fix build.

--- ui/time_shift.c.orig	2013-07-04 20:20:31.000000000 +0000
+++ ui/time_shift.c
@@ -29,6 +29,9 @@
 #include <string.h>
 #include <ctype.h>
 #include <math.h>
+#ifndef HAVE_FLOORL
+#define floorl(a) floor((double)(a))
+#endif
 
 #include <glib.h>