blob: 7db1f9f5745abb7529e5175e536b894164d8bdde (
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 2007/03/04 13:11:19 hira Exp $
--- psprint/source/printergfx/printerjob.cxx.orig 2007-02-17 17:43:14.000000000 +0900
+++ psprint/source/printergfx/printerjob.cxx 2007-02-17 17:43:55.000000000 +0900
@@ -82,6 +82,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;
using namespace rtl;
|