$NetBSD: patch-da,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $

--- ../vcl/unx/source/gdi/salprn.cxx.orig	Fri Jul 13 17:39:42 2001
+++ ../vcl/unx/source/gdi/salprn.cxx
@@ -1259,7 +1259,7 @@
 	if( getPrinterPort( pJobSetup->maPrinterName ).EqualsIgnoreCaseAscii( "fax_queue" ) )
 	{
 		char tmpNam[ L_tmpnam ];
-#if defined(FREEBSD) || defined(IRIX)
+#if defined(FREEBSD) || defined(IRIX) || defined(NETBSD)
 		mkstemp( tmpNam );
 #else
 		tmpnam_r( tmpNam );
