diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h index c8101f4afe..477e7aa226 100644 --- a/include/vlc_mtime.h +++ b/include/vlc_mtime.h @@ -68,7 +68,7 @@ VLC_EXPORT( void, mwait, ( mtime_t date ) ); VLC_EXPORT( void, msleep, ( mtime_t delay ) ); VLC_EXPORT( char *, secstotimestr, ( char *psz_buffer, int secs ) ); -#if (defined (__GNUC__) && defined (__linux__)) || defined (__FreeBSD__) +#if (defined (__GNUC__) && defined (__linux__)) || defined (__FreeBSD__) || defined (__OpenBSD__) /* Linux has 100, 250, 300 or 1000Hz * * HZ=100 by default on FreeBSD, but some architectures use a 1000Hz timer