$NetBSD: patch-ar,v 1.2 2004/05/03 20:56:36 mrauch Exp $ --- ../sal/osl/unx/tempfile.c.orig 2004-01-28 11:18:07.000000000 +0100 +++ ../sal/osl/unx/tempfile.c @@ -64,6 +64,9 @@ /*****************************************************************/ #include +#if defined(NETBSD) +#include +#endif #include #include #include @@ -107,6 +110,9 @@ oslFileError SAL_CALL osl_getTempDirURL( #if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD) || defined (MACOSX) if ( !pValue ) pValue = P_tmpdir; +#elif defined(NETBSD) + if ( !pValue ) + pValue = _PATH_TMP; #endif }