# By the way

**URL:** <https://forums.freertos.org/t/by-the-way/1715>\
**Category:** Kernel\
**Created:** [November 20, 2007, 12:47pm UTC](https://forums.freertos.org/t/by-the-way/1715 "2007-11-20T12:47:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [November 20, 2007, 12:47pm UTC](https://forums.freertos.org/t/by-the-way/1715/1 "2007-11-20T12:47:41Z")

</div>

**[cherepanov](https://sourceforge.net/u/cherepanov/)** wrote on [Tuesday, November 20, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/4bf94127/#13fc):

OpenWatcom compiller do not whant to compile queue.c whithout this

# Index: /FreeRTOS/Source/queue.c

@@ -602,7 +602,7 @@  
&nbsp;&nbsp;&nbsp;&nbsp; {  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /\* Record the information required to implement  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; priority inheritance should it become necessary. \*/  
-&nbsp;&nbsp;&nbsp; pxQueue-\>pxMutexHolder = xTaskGetCurrentTaskHandle();  
+&nbsp;&nbsp;&nbsp; pxQueue-\>pxMutexHolder = ( signed portCHAR \* ) xTaskGetCurrentTaskHandle();  
&nbsp;&nbsp;&nbsp;&nbsp; }  
}  
#endif  
And also there is no need to include semphr.h in dynamic.c

# Index: FreeRTOS/Demo/Common/Full/dynamic.c

@@ -120,7 +120,7 @@  
/\* Scheduler include files. \*/  
#include "FreeRTOS.h"  
#include "task.h"  
-#include "semphr.h"  
+#include "queue.h"

/\* Demo app include files. \*/  
#include "dynamic.h"  
@@ -573,3 +573,4 @@

# + Index: /FreeRTOS/Demo/Common/Minimal/dynamic.c

@@ -96,7 +96,7 @@  
/\* Scheduler include files. \*/  
#include "FreeRTOS.h"  
#include "task.h"  
-#include "semphr.h"  
+#include "queue.h"

/\* Demo app include files. \*/  
#include "dynamic.h"
