changeset 608:168dab61cea3

* src/mutex.cxx: Include sched.hxx for scheduler lock/unlock primitives. Reported by Jani Monoses.
author jlarmour
date Thu, 13 Feb 2003 14:34:04 +0000
parents bb6fe957336b
children c656237545b7
files packages/compat/posix/current/ChangeLog packages/compat/posix/current/src/mutex.cxx
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/compat/posix/current/ChangeLog
+++ b/packages/compat/posix/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-13  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/mutex.cxx: Include sched.hxx for scheduler lock/unlock primitives.
+	Reported by Jani Monoses.
+
 2003-02-10  Gary Thomas  <gary@mlbassoc.com>
 
 	* tests/signal3.c (main): Reorg code so it builds with older GCC.
--- a/packages/compat/posix/current/src/mutex.cxx
+++ b/packages/compat/posix/current/src/mutex.cxx
@@ -63,9 +63,11 @@
 #include <cyg/kernel/thread.hxx>       // thread definitions
 #include <cyg/kernel/mutex.hxx>        // mutex definitions
 #include <cyg/kernel/clock.hxx>        // clock definitions
+#include <cyg/kernel/sched.hxx>        // scheduler primitives
 #include <pthread.h>
 
 #include <cyg/kernel/thread.inl>       // thread inlines
+#include <cyg/kernel/sched.inl>        // scheduler inlines
 
 //-----------------------------------------------------------------------------
 // new operator to allow us to construct mutex objects