diff --git a/src/sbbs3/jsdebug.c b/src/sbbs3/jsdebug.c
index d752c6057cb189847092fe46d15ac7bf6941ef4e..cb8980a06aee32b8605d2e6c085b9daa9510bce3 100644
--- a/src/sbbs3/jsdebug.c
+++ b/src/sbbs3/jsdebug.c
@@ -9,7 +9,6 @@
 #include <link_list.h>
 #include <dirwrap.h>
 #include <jsdbgapi.h>
-#include <stdbool.h>
 #include <xpprintf.h>
 
 struct breakpoint {
@@ -141,15 +140,15 @@ void setup_debugger(void)
 	listInit(&debuggers,LINK_LIST_MUTEX);
 }
 
-bool init_debugger(JSRuntime *rt, JSContext *cx,void (*puts)(const char *), char *(*getline)(void))
+BOOL init_debugger(JSRuntime *rt, JSContext *cx,void (*puts)(const char *), char *(*getline)(void))
 {
 	struct debugger	*dbg;
 
 	if(get_debugger(cx))
-		return false;
+		return FALSE;
 	dbg=malloc(sizeof(struct debugger));
 	if(!dbg)
-		return false;
+		return FALSE;
 	dbg->cx=cx;
 	dbg->puts=puts;
 	dbg->getline=getline;
@@ -158,7 +157,7 @@ bool init_debugger(JSRuntime *rt, JSContext *cx,void (*puts)(const char *), char
 	JS_SetThrowHook(rt, throw_handler, NULL);
 	JS_SetNewScriptHook(rt, newscript_handler, NULL);
 	JS_SetDestroyScriptHook(rt, killscript_handler, NULL);
-	return true;
+	return TRUE;
 }
 
 void end_debugger(JSRuntime *rt, JSContext *cx)
diff --git a/src/sbbs3/jsdebug.h b/src/sbbs3/jsdebug.h
index fbda658c5a041231693a9b0e4d73b93c54c50f8d..528ce9202af513a90b635277d0d0184419b2e907 100644
--- a/src/sbbs3/jsdebug.h
+++ b/src/sbbs3/jsdebug.h
@@ -2,7 +2,6 @@
 #define JSDEBUG_H
 
 #include <jsapi.h>
-#include <stdbool.h>
 
 enum debug_action {
 	DEBUG_CONTINUE,
@@ -10,7 +9,7 @@ enum debug_action {
 };
 
 void setup_debugger(void);
-bool init_debugger(JSRuntime *rt, JSContext *cx,void (*puts)(const char *), char *(*getline)(void));
+BOOL init_debugger(JSRuntime *rt, JSContext *cx,void (*puts)(const char *), char *(*getline)(void));
 enum debug_action debug_prompt(JSContext *cx, JSObject *script);
 void end_debugger(JSRuntime *rt, JSContext *cx);
 
diff --git a/src/sbbs3/jsexec.vcxproj b/src/sbbs3/jsexec.vcxproj
index 83b2a6cd9370aa11b0b1450abde2402fe454fa6b..aba3f691a4114f447f40adccb5e7b1b068297de6 100644
--- a/src/sbbs3/jsexec.vcxproj
+++ b/src/sbbs3/jsexec.vcxproj
@@ -150,6 +150,7 @@
     </ProjectReference>
   </ItemDefinitionGroup>
   <ItemGroup>
+    <ClCompile Include="jsdebug.c" />
     <ClCompile Include="js_conio.c">
       <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>