diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c
index 4b94b2303554b7f8d0908af06442d4edd030558f..c7cec4b4d45b383aaf5c5c79e69e22732d82efdd 100644
--- a/src/sbbs3/wordwrap.c
+++ b/src/sbbs3/wordwrap.c
@@ -34,7 +34,6 @@
 #include <ctype.h>
 #include <genwrap.h>
 #include <stdlib.h>		/* realloc */
-#include <stdbool.h>
 #include "wordwrap.h"
 
 static int get_prefix(const char *text, int *bytes, int *len, int maxlen)
@@ -171,8 +170,8 @@ static int compare_prefix(char *old_prefix, int old_prefix_bytes, const char *ne
 
 char* wordwrap(char* inbuf, int len, int oldlen, uint32_t flags)
 {
-	bool		handle_quotes=flags&WORDWRAP_FLAG_QUOTES;
-	bool		lf_break=flags&WORDWRAP_FLAG_BARELF;
+	BOOL		handle_quotes=flags&WORDWRAP_FLAG_QUOTES;
+	BOOL		lf_break=flags&WORDWRAP_FLAG_BARELF;
 	int			l;
 	int			crcount=0;
 	long		i,k,t;