mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fixed compiler error in auth_pam plugin
Code copied from 10.6
This commit is contained in:
parent
0fd4d6d3bb
commit
9d4c0a6cab
1 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
IF(WIN32)
|
||||
RETURN()
|
||||
ENDIF()
|
||||
|
||||
INCLUDE (CheckIncludeFiles)
|
||||
INCLUDE (CheckFunctionExists)
|
||||
|
||||
|
@ -15,8 +19,8 @@ CHECK_C_SOURCE_COMPILES(
|
|||
#include <grp.h>
|
||||
#include <unistd.h>
|
||||
int main() {
|
||||
char *arg_1;
|
||||
gid_t arg_2, arg_3;
|
||||
char *arg_1= 0;
|
||||
gid_t arg_2=0, arg_3;
|
||||
int arg_4;
|
||||
(void)getgrouplist(arg_1,arg_2,&arg_3,&arg_4);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue