fix 'sched_yield' warnings on FreeBSD,NetBSD

This commit is contained in:
Mike Nolta 2012-05-20 00:49:38 -03:00
parent 5b7f443cf4
commit be1692d64f
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ extern "C" {
#include <sched.h>
#endif
#ifdef OS_DARWIN
#if defined(OS_DARWIN) || defined(OS_FREEBSD) || defined(OS_NETBSD)
#include <sched.h>
#endif