Fix Heimdal's LOCAL_PEERCRED on DragonFly by including

the necessary headers.

XXX Ask upstream, why this isn't a #if / #elif list

Reported-by: walt <wa1ter AT myrealbox DOT com> on tech-pkg
This commit is contained in:
joerg 2005-10-29 18:12:10 +00:00
parent b7cb9e7fbe
commit de5a38a6c9
2 changed files with 16 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.16 2005/10/26 16:44:24 jlam Exp $
$NetBSD: distinfo,v 1.17 2005/10/29 18:12:10 joerg Exp $
SHA1 (heimdal-0.7.1.tar.gz) = ab3e6f5fe6de86f7ba7413f8600f9b1ed956b620
RMD160 (heimdal-0.7.1.tar.gz) = 30373d227452e20187ca4bad1dc980c3f952be26
@ -12,3 +12,4 @@ SHA1 (patch-ag) = 003307136227d75729fc4d7f95a7debc7e91136e
SHA1 (patch-ah) = 797785f2f5f1530782d42393d2cc242f03fc20e6
SHA1 (patch-ai) = 55276d0becee47ae62ccfe5cd837b0fd4d7e6ff6
SHA1 (patch-aj) = ad30690ce7b7f11a80513df4d3e932bce095d863
SHA1 (patch-ak) = 0667c72a591c79be30d77251cd231ea7e93da794

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ak,v 1.1 2005/10/29 18:12:10 joerg Exp $
--- kcm/connect.c.orig 2005-10-29 17:36:00.000000000 +0200
+++ kcm/connect.c
@@ -32,4 +32,9 @@
*/
+#if defined(__DragonFly__)
+#include <sys/param.h>
+#include <sys/ucred.h>
+#endif
+
#include "kcm_locl.h"