18 lines
554 B
Text
18 lines
554 B
Text
$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;
|