torture: Fix compiling options test if NSS_BUFLEN_PASSWD isn't defined.

Thanks to Xi Wang for the patch.
This commit is contained in:
Andreas Schneider
2010-04-20 13:30:07 +02:00
parent c53383a316
commit 833903e8ec

View File

@@ -70,6 +70,9 @@ START_TEST (torture_options_set_user)
{
int rc;
#ifndef _WIN32
#ifndef NSS_BUFLEN_PASSWD
#define NSS_BUFLEN_PASSWD 4096
#endif
struct passwd pwd;
struct passwd *pwdbuf;
char buf[NSS_BUFLEN_PASSWD];