[rtems commit] Include missing <rtems/score/thread.h>

Sebastian Huber sebh at rtems.org
Fri Nov 9 14:09:05 UTC 2018


Module:    rtems
Branch:    master
Commit:    84aedcae3bb9c83bab6d76eed73ce81f330b46ed
Changeset: http://git.rtems.org/rtems/commit/?id=84aedcae3bb9c83bab6d76eed73ce81f330b46ed

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov  8 13:49:38 2018 +0100

Include missing <rtems/score/thread.h>

Update #3598.

---

 bsps/powerpc/shared/clock/clock-ppc-dec.c      | 1 +
 bsps/powerpc/shared/exceptions/ppc_exc_print.c | 1 +
 cpukit/libdebugger/rtems-debugger-threads.h    | 2 ++
 3 files changed, 4 insertions(+)

diff --git a/bsps/powerpc/shared/clock/clock-ppc-dec.c b/bsps/powerpc/shared/clock/clock-ppc-dec.c
index c9bb16c..1034066 100644
--- a/bsps/powerpc/shared/clock/clock-ppc-dec.c
+++ b/bsps/powerpc/shared/clock/clock-ppc-dec.c
@@ -31,6 +31,7 @@
 #include <libcpu/powerpc-utility.h>
 #include <rtems/timecounter.h>
 #include <rtems/score/percpu.h>
+#include <rtems/score/thread.h>
 
 #include <bspopts.h>   /* for CLOCK_DRIVER_USE_FAST_IDLE */
 
diff --git a/bsps/powerpc/shared/exceptions/ppc_exc_print.c b/bsps/powerpc/shared/exceptions/ppc_exc_print.c
index 5a3aad9..e4fcc73 100644
--- a/bsps/powerpc/shared/exceptions/ppc_exc_print.c
+++ b/bsps/powerpc/shared/exceptions/ppc_exc_print.c
@@ -19,6 +19,7 @@
 
 #include <bsp/vectors.h>
 
+#include <rtems/score/thread.h>
 #include <rtems/score/threaddispatch.h>
 
 #include <inttypes.h>
diff --git a/cpukit/libdebugger/rtems-debugger-threads.h b/cpukit/libdebugger/rtems-debugger-threads.h
index f021788..8beac1a 100644
--- a/cpukit/libdebugger/rtems-debugger-threads.h
+++ b/cpukit/libdebugger/rtems-debugger-threads.h
@@ -33,6 +33,8 @@
 
 #include <rtems/debugger/rtems-debugger-server.h>
 
+#include <rtems/score/thread.h>
+
 #include "rtems-debugger-block.h"
 
 #ifdef __cplusplus



More information about the vc mailing list