summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-an
blob: f750dec0d3b59fb21b0abc9e8b5e85ba153043d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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