pkgsrc/x11/xwit/patches/patch-aa
2001-03-16 14:15:53 +00:00

19 lines
362 B
Text

$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
}
/*