Merged in a bunch of patches that I got as reaction to the 3.99 release.
See the ChangeLog for details
diff --git a/bjm.c b/bjm.c
index 2bb91a9..d21ce7c 100644
--- a/bjm.c
+++ b/bjm.c
@@ -1,5 +1,7 @@
 #include "defs.h"
 
+#if defined(LINUX)
+
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/time.h>
@@ -49,13 +51,5 @@
 	return 0;
 }
 
-int
-sys_delete_module(tcp)
-struct tcb *tcp;
-{
+#endif /* LINUX */
 
-	if (entering(tcp)) {
-		printstr(tcp, tcp->u_arg[0], -1);
-	}
-	return 0;
-}