Commit 9d4c0a6c authored by Monty's avatar Monty

Fixed compiler error in auth_pam plugin

Code copied from 10.6
parent 0fd4d6d3
IF(WIN32)
RETURN()
ENDIF()
INCLUDE (CheckIncludeFiles) INCLUDE (CheckIncludeFiles)
INCLUDE (CheckFunctionExists) INCLUDE (CheckFunctionExists)
...@@ -15,8 +19,8 @@ CHECK_C_SOURCE_COMPILES( ...@@ -15,8 +19,8 @@ CHECK_C_SOURCE_COMPILES(
#include <grp.h> #include <grp.h>
#include <unistd.h> #include <unistd.h>
int main() { int main() {
char *arg_1; char *arg_1= 0;
gid_t arg_2, arg_3; gid_t arg_2=0, arg_3;
int arg_4; int arg_4;
(void)getgrouplist(arg_1,arg_2,&arg_3,&arg_4); (void)getgrouplist(arg_1,arg_2,&arg_3,&arg_4);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment