--- server/common_subr.c.org	Thu Mar 27 11:07:09 1997
+++ server/common_subr.c	Thu Mar 27 11:44:48 1997
@@ -54,6 +54,12 @@
 #ifndef sun
 #include <net/bpf.h>
 #endif
+#ifdef __FreeBSD__
+#include <osreldate.h>
+#if (__FreeBSD_version == 199702) || (__FreeBSD_version >= 300000)
+#include <net/if_var.h>
+#endif
+#endif
 #include <netinet/in_systm.h>
 #include <netinet/in.h>
 #include <netinet/ip.h>
