$OpenBSD: patch-bbmpeg_main_h,v 1.1.1.1 2004/06/18 18:56:43 sturm Exp $
--- bbmpeg/main.h.orig	2003-03-08 09:20:42.000000000 -0800
+++ bbmpeg/main.h	2004-04-27 19:15:44.000000000 -0700
@@ -10,8 +10,15 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
+#include <ctype.h>   // tolower()
+
 #include "config.h"
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>  // mkstemp()
+#endif
+
+
 #ifndef MAXPATH
 #define MAXPATH 260
 #endif
