$OpenBSD: patch-gcc_ada_adaint_c,v 1.3 2004/01/31 15:23:58 espie Exp $
--- gcc/ada/adaint.c.orig	2002-11-18 15:39:46.000000000 +0100
+++ gcc/ada/adaint.c	2003-11-10 20:03:52.000000000 +0100
@@ -632,7 +632,7 @@ __gnat_open_new_temp (path, fmode)
 
   strcpy (path, "GNAT-XXXXXX");
 
-#if defined (linux) && !defined (__vxworks)
+#if (defined (linux) && !defined (__vxworks)) || defined(__OpenBSD__)
   return mkstemp (path);
 #elif defined (__Lynx__)
   mktemp (path);
