Browse Source

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

tags/v0.3.16^2
River Dillon 4 years ago
parent
commit
220f6a1c55
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      openblas_config_template.h

+ 1
- 0
openblas_config_template.h 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

Loading…
Cancel
Save