Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-33090

plugin/auth_pam/testing/pam_mariadb_mtr.c doesn't compile on Solaris

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            rorth Rainer Orth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.