diff --git a/src/sbbs3/wordwrap.c b/src/sbbs3/wordwrap.c
index 984350f8cd27fb70bff28eb0bdf49b8c71af144b..0c1dfbddd62aaf7826aa23ee822e94984fd44fbb 100644
--- a/src/sbbs3/wordwrap.c
+++ b/src/sbbs3/wordwrap.c
@@ -31,6 +31,7 @@
  * Note: If this box doesn't appear square, then you need to fix your tabs.	*
  ****************************************************************************/
 
+#include <ctype.h>
 #include <genwrap.h>
 #include <stdlib.h>		/* realloc */
 #include "wordwrap.h"