mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-29 09:32:49 +00:00
BUILD: quic: Several compiler warns fixes after retry module creation
Such a warning appeared after having added quic_retry.h which includes only headers for types (quic_cid-t.h, clock-t.h...) In file included from include/haproxy/quic_retry.h:12, from src/quic_retry.c:5: include/haproxy/quic_cid-t.h:26:26: error: field ‘seq_num’ has incomplete type 26 | struct eb64_node seq_num;
This commit is contained in:
parent
b5970967ca
commit
b39362070d
@ -1,6 +1,7 @@
|
||||
#ifndef _HAPROXY_QUIC_CID_T_H
|
||||
#define _HAPROXY_QUIC_CID_T_H
|
||||
|
||||
#include <import/ebtree-t.h>
|
||||
#include <haproxy/quic_tp-t.h>
|
||||
|
||||
/* QUIC connection ID maximum length for version 1. */
|
||||
|
@ -2,6 +2,8 @@
|
||||
#define _HAPROXY_QUIC_SOCK_T_H
|
||||
#ifdef USE_QUIC
|
||||
|
||||
#include <haproxy/buf-t.h>
|
||||
|
||||
/* QUIC socket allocation strategy. */
|
||||
enum quic_sock_mode {
|
||||
QUIC_SOCK_MODE_CONN, /* Use a dedicated socket per connection. */
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
#include <import/ebtree.h>
|
||||
|
||||
#include <haproxy/ncbuf-t.h>
|
||||
#include <haproxy/quic_ack-t.h>
|
||||
#include <haproxy/openssl-compat.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user