diff options
author | nectar <nectar@FreeBSD.org> | 2003-04-21 07:13:05 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 2003-04-21 07:13:05 +0800 |
commit | 88130c343d1cb8eac4887d5513ba25d667aa3c09 (patch) | |
tree | 562e7a5592fb0d055ec80069ab6fbc34ed648114 /net | |
parent | 60c308374eeb238772d17897af4328a076320a6a (diff) | |
download | freebsd-ports-gnome-88130c343d1cb8eac4887d5513ba25d667aa3c09.tar.gz freebsd-ports-gnome-88130c343d1cb8eac4887d5513ba25d667aa3c09.tar.zst freebsd-ports-gnome-88130c343d1cb8eac4887d5513ba25d667aa3c09.zip |
Unbreak for FreeBSD 5.x prior to addition of NSS module support
(500000 <= __FreeBSD_version < 500112).
Reported by: dannyboy
Diffstat (limited to 'net')
-rw-r--r-- | net/samba/files/winbind_nss_bsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/samba/files/winbind_nss_bsd.c b/net/samba/files/winbind_nss_bsd.c index bc830a8f5ce2..2d93584fc535 100644 --- a/net/samba/files/winbind_nss_bsd.c +++ b/net/samba/files/winbind_nss_bsd.c @@ -1,4 +1,5 @@ #include <sys/param.h> +#if __FreeBSD_version >= 500112 #include <pwd.h> #include <grp.h> #include <nss.h> @@ -57,3 +58,4 @@ nss_module_register(const char *source, unsigned int *mtabsize, *unreg = NULL; return (methods); } +#endif |