--- src/lharc.c.orig	Sat Sep  4 18:08:21 1999
+++ src/lharc.c	Sat Sep  4 18:09:48 1999
@@ -865,6 +865,7 @@
 /*																			*/
 /* ------------------------------------------------------------------------ */
 /* Build temporary file name and store to TEMPORARY_NAME */
+#if !defined(__OpenBSD__)
 void
 build_temporary_name()
 {
@@ -888,7 +889,7 @@
 	mktemp(temporary_name);
 #endif
 }
-
+#endif
 /* ------------------------------------------------------------------------ */
 static void
 modify_filename_extention(buffer, ext)
