mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-07 20:11:17 +01:00
BUILD: ssl: include buffer common headers for ssl_sock_ctx
since commit c0cdaffaa338 ("REORG: ssl: move ssl_sock_ctx and fix
cross-dependencies issues"), `struct ssl_sock_ctx` was moved in
ssl_sock.h. As it contains a `struct buffer`, including
`common/buffer.h` is now mandatory. I encountered an issue while
including ssl_sock.h on another patch:
include/types/ssl_sock.h:240:16: error: field ‘early_buf’ has incomplete type
240 | struct buffer early_buf; /* buffer to store the early data received */
no backport needed.
Fixes: c0cdaffaa338 ("REORG: ssl: move ssl_sock_ctx and fix
cross-dependencies issues")
Signed-off-by: William Dauchy <w.dauchy@criteo.com>
This commit is contained in:
parent
a8dbdf3c4b
commit
1665c43fd8
@ -31,6 +31,7 @@
|
||||
#include <types/ssl_ckch.h>
|
||||
#include <types/ssl_crtlist.h>
|
||||
|
||||
#include <common/buffer.h>
|
||||
#include <common/hathreads.h>
|
||||
#include <common/mini-clist.h>
|
||||
#include <common/openssl-compat.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user