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:
Frédéric Lécaille 2023-11-28 11:37:44 +01:00
parent b5970967ca
commit b39362070d
3 changed files with 4 additions and 0 deletions

View File

@ -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. */

View File

@ -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. */

View File

@ -21,6 +21,7 @@
#include <import/ebtree.h>
#include <haproxy/ncbuf-t.h>
#include <haproxy/quic_ack-t.h>
#include <haproxy/openssl-compat.h>