$OpenBSD: patch-sim_timer_c,v 1.3 2010/03/21 09:26:49 jasper Exp $
--- sim_timer.c.orig	Thu Nov 20 14:03:30 2008
+++ sim_timer.c	Tue Jan 26 13:12:30 2010
@@ -298,7 +298,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;
