be3ce4cfc1
support Darwin
17 lines
441 B
Text
17 lines
441 B
Text
$NetBSD: patch-af,v 1.1 2006/10/17 20:28:01 schwarz Exp $
|
|
|
|
--- src/authinfo_pam.c.orig 2006-10-17 21:35:15.000000000 +0200
|
|
+++ src/authinfo_pam.c 2006-10-17 21:35:57.000000000 +0200
|
|
@@ -15,7 +15,11 @@
|
|
#include "authinfo.h"
|
|
#include "authinfo_pam.h"
|
|
|
|
-#include <security/pam_appl.h>
|
|
+#ifdef __APPLE__
|
|
+# include <pam/pam_appl.h>
|
|
+#else
|
|
+# include <security/pam_appl.h>
|
|
+#endif
|
|
#ifdef __Linux__
|
|
# include <security/pam_misc.h>
|
|
#endif
|