[rtems commit] score: Include missing header file
Sebastian Huber
sebh at rtems.org
Fri Apr 4 09:42:13 UTC 2014
Module: rtems
Branch: master
Commit: d62b5ac99be0484e179fea94b8ddffa2137c4182
Changeset: http://git.rtems.org/rtems/commit/?id=d62b5ac99be0484e179fea94b8ddffa2137c4182
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Apr 4 09:37:23 2014 +0200
score: Include missing header file
---
cpukit/score/include/rtems/score/cpuset.h | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/cpukit/score/include/rtems/score/cpuset.h b/cpukit/score/include/rtems/score/cpuset.h
index a59ff1a..0f781d9 100644
--- a/cpukit/score/include/rtems/score/cpuset.h
+++ b/cpukit/score/include/rtems/score/cpuset.h
@@ -21,12 +21,14 @@
#include <rtems/score/basedefs.h>
+#ifdef __RTEMS_HAVE_SYS_CPUSET_H__
+
+#include <sys/cpuset.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#ifdef __RTEMS_HAVE_SYS_CPUSET_H__
-
/**
* @defgroup ScoreCpuset
*
@@ -53,12 +55,13 @@ typedef struct {
cpu_set_t *set;
} CPU_set_Control;
-#endif
-
/**@}*/
#ifdef __cplusplus
}
#endif
-#endif
+
+#endif /* __RTEMS_HAVE_SYS_CPUSET_H__ */
+
+#endif /* _RTEMS_SCORE_CPUSET_H */
/* end of include file */
More information about the vc
mailing list