blob: bad3085f4d8ab6d473c9d1e940ef6f26de49c9a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-aa,v 1.1.1.1 2001/03/16 14:15:53 wiz Exp $
--- xwit.c.orig Tue Oct 21 03:32:54 1997
+++ xwit.c
@@ -131,10 +131,14 @@
mssleep(ms)
int ms;
{
+#ifdef __NetBSD__
+ usleep((useconds_t) ms*1000);
+#else
struct timeval tv;
tv.tv_sec = ms/1000;
tv.tv_usec = (ms%1000)*1000;
select(0,(int*)0,(int*)0,(int*)0,&tv);
+#endif
}
/*
|