QUIC: Enable building with QUIC support disabled
[openssl.git] / include / internal / quic_demux.h
index 9cbec61b9edbd6f081fdcdb96f45f8e972f4d6bf..84a90b09b1b3d555d839a77511e8c217d318e361 100644 (file)
@@ -16,6 +16,8 @@
 # include "internal/time.h"
 # include "internal/list.h"
 
+# ifndef OPENSSL_NO_QUIC
+
 /*
  * QUIC Demuxer
  * ============
@@ -273,4 +275,6 @@ int ossl_quic_demux_inject(QUIC_DEMUX *demux,
                            const BIO_ADDR *peer,
                            const BIO_ADDR *local);
 
+# endif
+
 #endif