`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.
ph.patch 2023-12-20 12:50 0.5 kB Rainer Orth
{"report":{"fcp":1140.8000001907349,"ttfb":173.19999980926514,"pageVisibility":"visible","entityId":127026,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"7e44bc89-110e-41b5-b4d2-911b3ec02b9e","navigationType":0,"readyForUser":1227.4000005722046,"redirectCount":0,"resourceLoadedEnd":1643.9000005722046,"resourceLoadedStart":178.9000005722046,"resourceTiming":[{"duration":423.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":178.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":178.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":602.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":423.20000076293945,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":179.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":602.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":434,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":179.4000005722046,"connectEnd":179.4000005722046,"connectStart":179.4000005722046,"domainLookupEnd":179.4000005722046,"domainLookupStart":179.4000005722046,"fetchStart":179.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":179.4000005722046,"responseEnd":613.4000005722046,"responseStart":613.4000005722046,"secureConnectionStart":179.4000005722046},{"duration":466.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":179.60000038146973,"connectEnd":179.60000038146973,"connectStart":179.60000038146973,"domainLookupEnd":179.60000038146973,"domainLookupStart":179.60000038146973,"fetchStart":179.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":179.60000038146973,"responseEnd":645.9000005722046,"responseStart":645.9000005722046,"secureConnectionStart":179.60000038146973},{"duration":472.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":180.10000038146973,"connectEnd":180.10000038146973,"connectStart":180.10000038146973,"domainLookupEnd":180.10000038146973,"domainLookupStart":180.10000038146973,"fetchStart":180.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":180.10000038146973,"responseEnd":652.9000005722046,"responseStart":652.9000005722046,"secureConnectionStart":180.10000038146973},{"duration":472.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":180.5,"connectEnd":180.5,"connectStart":180.5,"domainLookupEnd":180.5,"domainLookupStart":180.5,"fetchStart":180.5,"redirectEnd":0,"redirectStart":0,"requestStart":180.5,"responseEnd":653.4000005722046,"responseStart":653.4000005722046,"secureConnectionStart":180.5},{"duration":473.1000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":180.80000019073486,"connectEnd":180.80000019073486,"connectStart":180.80000019073486,"domainLookupEnd":180.80000019073486,"domainLookupStart":180.80000019073486,"fetchStart":180.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":180.80000019073486,"responseEnd":653.9000005722046,"responseStart":653.9000005722046,"secureConnectionStart":180.80000019073486},{"duration":594.3000001907349,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":181.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":775.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":473.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":181.30000019073486,"connectEnd":181.30000019073486,"connectStart":181.30000019073486,"domainLookupEnd":181.30000019073486,"domainLookupStart":181.30000019073486,"fetchStart":181.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":181.30000019073486,"responseEnd":654.9000005722046,"responseStart":654.9000005722046,"secureConnectionStart":181.30000019073486},{"duration":594.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":181.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":181.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":775.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":473.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":181.69999980926514,"connectEnd":181.69999980926514,"connectStart":181.69999980926514,"domainLookupEnd":181.69999980926514,"domainLookupStart":181.69999980926514,"fetchStart":181.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":181.69999980926514,"responseEnd":655.5,"responseStart":655.5,"secureConnectionStart":181.69999980926514},{"duration":686.3999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":187.10000038146973,"connectEnd":187.10000038146973,"connectStart":187.10000038146973,"domainLookupEnd":187.10000038146973,"domainLookupStart":187.10000038146973,"fetchStart":187.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":187.10000038146973,"responseEnd":873.5,"responseStart":873.5,"secureConnectionStart":187.10000038146973},{"duration":1440.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":187.10000038146973,"connectEnd":187.10000038146973,"connectStart":187.10000038146973,"domainLookupEnd":187.10000038146973,"domainLookupStart":187.10000038146973,"fetchStart":187.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":187.10000038146973,"responseEnd":1627.4000005722046,"responseStart":1627.4000005722046,"secureConnectionStart":187.10000038146973},{"duration":87.10000038146973,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":788,"connectEnd":788,"connectStart":788,"domainLookupEnd":788,"domainLookupStart":788,"fetchStart":788,"redirectEnd":0,"redirectStart":0,"requestStart":788,"responseEnd":875.1000003814697,"responseStart":875.1000003814697,"secureConnectionStart":788},{"duration":555.4000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1088.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1088.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1643.9000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":545.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1089.5,"connectEnd":1089.5,"connectStart":1089.5,"domainLookupEnd":1089.5,"domainLookupStart":1089.5,"fetchStart":1089.5,"redirectEnd":0,"redirectStart":0,"requestStart":1089.5,"responseEnd":1635.1000003814697,"responseStart":1635.1000003814697,"secureConnectionStart":1089.5},{"duration":551.9000005722046,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1090,"connectEnd":1090,"connectStart":1090,"domainLookupEnd":1090,"domainLookupStart":1090,"fetchStart":1090,"redirectEnd":0,"redirectStart":0,"requestStart":1090,"responseEnd":1641.9000005722046,"responseStart":1641.9000005722046,"secureConnectionStart":1090},{"duration":524.3999996185303,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1131.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1131.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1656.3000001907349,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":5,"responseStart":173,"responseEnd":177,"domLoading":177,"domInteractive":1657,"domContentLoadedEventStart":1657,"domContentLoadedEventEnd":1714,"domComplete":2891,"loadEventStart":2891,"loadEventEnd":2893,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1629.4000005722046},{"name":"bigPipe.sidebar-id.end","time":1630.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1630.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":1633},{"name":"activityTabFullyLoaded","time":1720.6999998092651}],"measures":[],"correlationId":"55fde979c14585","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":105,"dbReadsTimeInMs":11,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}