diff options
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 |