summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-02 00:09:31 +0000
committerTim Potter <tpot@samba.org>2003-09-02 00:09:31 +0000
commit75411005fcab7ecf31940c5f7b87fd407166f98a (patch)
tree8fb40db7ab1249172824fea241d5f942aa20e681 /source/nsswitch
parentf1ec43fae400455d20931ab2d3ecd8f9a6609050 (diff)
downloadsamba-75411005fcab7ecf31940c5f7b87fd407166f98a.tar.gz
samba-75411005fcab7ecf31940c5f7b87fd407166f98a.tar.xz
samba-75411005fcab7ecf31940c5f7b87fd407166f98a.zip
Fix for bug 261. Create a configure #define for FreeBSD and a check in
nsswitch/pam_winbind.h so we can compile properly on this platform.
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/pam_winbind.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/pam_winbind.h b/source/nsswitch/pam_winbind.h
index fae635d8067..865bf7513eb 100644
--- a/source/nsswitch/pam_winbind.h
+++ b/source/nsswitch/pam_winbind.h
@@ -25,7 +25,7 @@
#define PAM_SM_ACCOUNT
#define PAM_SM_PASSWORD
-#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX)
+#if defined(SUNOS5) || defined(SUNOS4) || defined(HPUX) || defined(FREEBSD)
/* Solaris always uses dynamic pam modules */
#define PAM_EXTERN extern