use ansi c declarations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15435 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -11,7 +11,7 @@ if test "$ac_cv_func_getpwnam_r" = yes; then
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[
|
||||
#define _POSIX_PTHREAD_SEMANTICS
|
||||
#include <pwd.h>
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
struct passwd pw, *pwd;
|
||||
return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;
|
||||
|
Reference in New Issue
Block a user