diff --git a/src/sbbs3/scfg/makehelp.c b/src/sbbs3/scfg/makehelp.c
index 634971c96a6e49239c1dec1c887570d1dc2d3c46..81d6908c116f9e20e08d2e46c412acb5eef97bf5 100644
--- a/src/sbbs3/scfg/makehelp.c
+++ b/src/sbbs3/scfg/makehelp.c
@@ -5,11 +5,12 @@
 /* Makes SCFG.HLP for Synchronet configuration program */
 
 #include <stdio.h>
-#include <alloc.h>
 #include <string.h>
-#include <io.h>
 #include <fcntl.h>
 #include <sys/stat.h>
+#if !defined(__unix__)
+	#include <io.h>	/* open */
+#endif
 
 void main(void)
 {