summaryrefslogtreecommitdiff
path: root/security/heimdal/patches/patch-lib_ipc_server.c
blob: e0233413ac01f25e8692cc70d8fbf7f72d5c088e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-lib_ipc_server.c,v 1.1 2014/05/16 12:49:42 ryoon Exp $

* OpenBSD should use its own conditional.

--- lib/ipc/server.c.orig	2012-12-09 22:06:44.000000000 +0000
+++ lib/ipc/server.c
@@ -525,7 +525,7 @@ update_client_creds(struct client *c)
 	}
     }
 #endif
-#ifdef SO_PEERCRED
+#if defined(SO_PEERCRED) && !defined(__OpenBSD__)
     /* Linux */
     {
 	struct ucred pc;