--- video.c.orig	Mon Sep 25 10:17:49 1995
+++ video.c	Tue Jun 30 15:07:27 1998
@@ -40,6 +40,10 @@
 #include "util.h"
 #include "proto.h"
 
+#ifdef _HAVE_PARAM_H
+#include <sys/param.h>
+#endif
+
 /* Declarations of functions. */
 static void ReconIMBlock();
 static void ReconPMBlock();
@@ -436,7 +440,9 @@
   static int num_calls = 0;
   unsigned int data;
   int i, status;
+#if BSD < 199103
   long int ftell (FILE *stream);
+#endif
 
   /* If vid_stream is null, create new VidStream structure. */
 
