$NetBSD: patch-an,v 1.2 2004/05/03 20:56:36 mrauch Exp $

--- ../psprint/source/printergfx/printerjob.cxx.orig	2004-04-17 19:29:37.000000000 +0200
+++ ../psprint/source/printergfx/printerjob.cxx
@@ -107,6 +107,17 @@
 
 #include "glyphset.hxx"
 
+#if defined(NETBSD)
+#if defined(__cplusplus)
+extern "C" {
+#endif
+ int getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer,
+                size_t buflen, struct passwd **result);
+#if defined(__cplusplus)
+}
+#endif
+#endif
+
 using namespace psp ;
 
 #ifdef MACOSX
