summaryrefslogtreecommitdiff
path: root/graphics/xart/patches/patch-ab
blob: 9c3f77cec3e029f22c76a0db43b2bb820dfff537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:54 agc Exp $

--- dynPenOp.c.orig	Tue Apr 21 00:57:13 1998
+++ dynPenOp.c	Tue Apr 21 01:08:15 1998
@@ -24,11 +24,12 @@
 #include <X11/Intrinsic.h>
 #include <X11/StringDefs.h>
 #include <X11/cursorfont.h>
+#include <time.h>
 #include "xpaint.h"
 #include "misc.h"
 #include "Paint.h"
 
-#define XTIMEOUT ((unsigned long)(1.5*1000/HZ)) /* ms, should be larger than 1000/HZ */
+#define XTIMEOUT ((unsigned long)(1.5*1000/CLK_TCK)) /* ms, should be larger than 1000/HZ */
 
 typedef struct {
 	float	startx, starty;