aboutsummaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-04-20 23:13:05 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-04-20 23:13:05 +0000
commita7a79b20ccb044dd742a888fee8fbed866a3b44d (patch)
tree69fb6d70737f6db2eddbdacfb88483e52087132c /net/samba
parentc2e42eb9405b6081850a789639ce250417846f01 (diff)
downloadports-a7a79b20ccb044dd742a888fee8fbed866a3b44d.tar.gz
ports-a7a79b20ccb044dd742a888fee8fbed866a3b44d.zip
Notes
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/files/winbind_nss_bsd.c2
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