Add feature test macro for proper inclusion of <sched.h>

This commit is contained in:
River Dillon 2021-07-10 00:38:02 -07:00
parent 2f6326a630
commit 220f6a1c55
1 changed files with 1 additions and 0 deletions

View File

@ -99,5 +99,6 @@ typedef int blasint;
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
#ifdef OPENBLAS_OS_LINUX
#define _GNU_SOURCE
#include <sched.h>
#endif