summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-22 17:55:04 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-05-22 17:55:04 -0500
commitc1727795a5a0c6d101b5068c4007770dff986380 (patch)
treea85236d2e8dd692fd3e048811a3ce3873e8a48fe
parentmain_dump_all_cpus.c: Stop at end of args or CPUs (diff)
downloadrtems-schedsim-c1727795a5a0c6d101b5068c4007770dff986380.tar.bz2
cpu.h: Include sys/cpuset.h so RTEMS tasks.h doesn't have to be modified
-rw-r--r--schedsim/rtems/sched_cpu/rtems/score/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/schedsim/rtems/sched_cpu/rtems/score/cpu.h b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
index aeb713b..45ae93c 100644
--- a/schedsim/rtems/sched_cpu/rtems/score/cpu.h
+++ b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
@@ -39,6 +39,8 @@ extern "C" {
#include <rtems/score/no_cpu.h> /* pick up machine definitions */
#ifndef ASM
+/* only on simulator - included in different ways on real RTEMS */
+#include <sys/cpuset.h>
#include <rtems/score/types.h>
#endif