4bc4653e96
tweaked by Giovanni Bechis and myself.
13 lines
421 B
Plaintext
13 lines
421 B
Plaintext
$OpenBSD: patch-sim_timer_c,v 1.2 2008/11/04 22:13:30 sthen Exp $
|
|
--- sim_timer.c.orig Tue May 27 15:36:26 2008
|
|
+++ sim_timer.c Tue Nov 4 22:06:49 2008
|
|
@@ -295,7 +295,7 @@ return;
|
|
|
|
uint32 sim_os_ms_sleep_init (void)
|
|
{
|
|
-#if defined (_POSIX_SOURCE) /* POSIX-compliant */
|
|
+#if defined (_POSIX_SOURCE) || defined(__OpenBSD__) /* POSIX-compliant */
|
|
|
|
struct timespec treq;
|
|
uint32 msec;
|