diff --git a/src/sbbs3/ringbuf.c b/src/sbbs3/ringbuf.c
index 06eab9c925d00ce342cae689957633d320a584d0..42e2af61fef47c3bce05ab1d199e4e2b86cb84c1 100644
--- a/src/sbbs3/ringbuf.c
+++ b/src/sbbs3/ringbuf.c
@@ -45,6 +45,7 @@
 #include LOCKED_DATA_SEGMENT
 #endif
 
+#include "genwrap.h" /* YIELD() */ 
 #include "ringbuf.h"
 
 #ifdef RINGBUF_USE_STD_RTL