Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.11.6
-
None
-
Solaris 11.4/x86 with GCC 13.2.0
Description
`pam_mariadb_mtr.c` doesn't compile on Solaris:
```
In file included from /vol/src/mariadb/mariadb-10.11.6/plugin/auth_pam/testing/pam_mariadb_mtr.c:13:
/usr/include/security/pam_modules.h:14:9: error: unknown type name ‘pam_handle_t’
14 | pam_handle_t *__pamh,
```
`pam_handle_t` is declared in `<security/pam_appl.h>`, so reversing the include order fixes the bug.