summaryrefslogtreecommitdiff
path: root/include/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sched.h')
-rw-r--r--include/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sched.h b/include/sched.h
index 7cfdbf1f9..5f3bd8fc1 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -63,7 +63,7 @@ extern int sched_get_priority_min (int __algorithm) __THROW;
extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
-#ifdef __USE_GNU
+#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
/* Access macros for `cpu_set'. */
#define CPU_SETSIZE __CPU_SETSIZE
#define CPU_SET(cpu, cpusetp) __CPU_SET (cpu, cpusetp)