$OpenBSD: patch-sal_osl_unx_tempfile_c,v 1.2 2006/08/20 03:36:53 kurt Exp $
--- sal/osl/unx/tempfile.c.orig.port	Thu May  4 04:48:55 2006
+++ sal/osl/unx/tempfile.c	Fri Aug 18 15:47:44 2006
@@ -88,7 +88,7 @@ oslFileError SAL_CALL osl_getTempDirURL(
     if ( !pValue )
 	{
         pValue = getenv( "TMP" );
-#if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD)
+#if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD) || defined (OPENBSD)
 		if ( !pValue )
 			pValue = P_tmpdir;
 #endif
