$OpenBSD: patch-sal_osl_unx_tempfile_c,v 1.3 2007/04/18 13:20:48 kurt Exp $
--- sal/osl/unx/tempfile.c.orig.port	Thu May  4 04:48:55 2006
+++ sal/osl/unx/tempfile.c	Wed Apr 18 03:46:26 2007
@@ -88,7 +88,7 @@ oslFileError SAL_CALL osl_getTempDirURL( rtl_uString**
     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
