$OpenBSD: patch-binutils_dlltool_c,v 1.3 2003/10/11 00:52:22 brad Exp $
--- binutils/dlltool.c.orig	2003-03-22 16:04:50.000000000 -0500
+++ binutils/dlltool.c	2003-09-04 02:03:35.000000000 -0400
@@ -1189,7 +1189,11 @@ run (what, args)
   int i;
   const char **argv;
   char *errmsg_fmt, *errmsg_arg;
+#if defined(__MSDOS__) && !defined(__GO32__)
   char *temp_base = choose_temp_base ();
+#else
+  char *temp_base = NULL;
+#endif
 
   inform ("run: %s %s", what, args);
 
