diff -ru ./log.cc ../../nt-1.07.1/main/log.cc
--- ./log.cc	Sun Oct 24 10:00:39 1999
+++ ../../nt-1.07.1/main/log.cc	Thu Nov 25 22:18:21 1999
@@ -9,13 +9,21 @@
  *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
 #include "log.h"
 #include <time.h>
 #include <stdio.h>
 //for messages queue
 #include <sys/types.h>
 #include <sys/ipc.h>
+#if (defined(BSD) && (BSD >= 199306))
+#include <sys/msgbuf.h>
+#else
 #include <sys/msg.h>
+#endif
 
 #include "dlist.h"
 #include "face/log.h"
