Skip to content

Commit 220f6a1

Browse files
author
River Dillon
committed
Add feature test macro for proper inclusion of <sched.h>
1 parent 2f6326a commit 220f6a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

openblas_config_template.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,6 @@ typedef int blasint;
9999

100100
/* Inclusion of Linux-specific header is needed for definition of cpu_set_t. */
101101
#ifdef OPENBLAS_OS_LINUX
102+
#define _GNU_SOURCE
102103
#include <sched.h>
103104
#endif

0 commit comments

Comments
 (0)