summaryrefslogtreecommitdiff
path: root/print/teTeX3-bin/patches/patch-ao
blob: 4178ff88b010e6b9601f8885d440ea84b291eac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ao,v 1.3 2009/01/21 22:06:55 schwarz Exp $

--- texk/xdvik/special.c.orig	2009-01-21 20:32:23.000000000 +0100
+++ texk/xdvik/special.c	2009-01-21 20:32:50.000000000 +0100
@@ -181,7 +181,9 @@
 #define	MAX_PEN_SIZE	7	/* Max pixels of pen width */
 #define	TWOPI		(3.14159265359 * 2.0)
 
+#ifndef floor
 extern double floor(double);
+#endif
 #define	rint(x)	floor((x) + 0.5)
 
 static int xx[MAXPOINTS], yy[MAXPOINTS];	/* Path in milli-inches */