diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2023-08-09 13:48:46 +0200 |
---|---|---|
committer | Stéphane Glondu <glondu@debian.org> | 2023-08-09 13:48:46 +0200 |
commit | 036ca3904dba5cba87ab1f56774bcb5f626bc7c3 (patch) | |
tree | 01ddc314d4d47b57f5796bde0eeeac8403f6d1c4 | |
parent | f6674193e32f367f0a305f13c284a105abb06238 (diff) |
Call CAMLParam0 before CAMLlocal to resolve FTBFS with ocaml 4.04.
Gbp-Pq: Name ocaml-4.04.patch
-rw-r--r-- | pam_stubs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pam_stubs.c b/pam_stubs.c index 24e3a32..3a51986 100644 --- a/pam_stubs.c +++ b/pam_stubs.c @@ -57,6 +57,7 @@ static int converse(int nMsg, const struct pam_message ** messages, struct pam_r struct pam_response * local_responses; caml_pam_handle * h; + CAMLparam0(); CAMLlocal1(ret); h = (caml_pam_handle *)data; |