Add feature test macro for proper inclusion of <sched.h>
This commit is contained in:
@@ -99,5 +99,6 @@ typedef int blasint;
|
|||||||
|
|
||||||
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
|
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
|
||||||
#ifdef OPENBLAS_OS_LINUX
|
#ifdef OPENBLAS_OS_LINUX
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user