diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile
index 3789ef6f20b0e1ec9b8052105bac94a54054f55d..c4fb1b135c03df84ed55f1505b8d4282282426ae 100644
--- a/src/sbbs3/GNUmakefile
+++ b/src/sbbs3/GNUmakefile
@@ -44,7 +44,7 @@ else
  endif
 endif
 
-CFLAGS  +=  -I$(XPDEV)
+CFLAGS  +=  -I$(XPDEV) -I$(SMBLIB_SRC)
 CFLAGS	+=  $(UIFC_CFLAGS)
 
 ifndef bcc