7bd2321285
Oleg Safiullin <form at pdp-11 dot org dot ru>. kurt@ ok
13 lines
421 B
Plaintext
13 lines
421 B
Plaintext
$OpenBSD: patch-sim_timer_c,v 1.1 2007/09/23 02:27:39 fgsch Exp $
|
|
--- sim_timer.c.orig Tue Sep 18 13:36:15 2007
|
|
+++ sim_timer.c Tue Sep 18 13:36:45 2007
|
|
@@ -294,7 +294,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;
|