Commit fa3e4c9406a for nodejs
commit fa3e4c9406a635d32599845ceacd16fd2614e2be
Author: Filip Skokan <panva.ip@gmail.com>
Date: Wed Sep 30 09:10:36 2026 +0200
src: fix builds without SSL and SQLite
Include `quic/guard.h` independently of SQLite so builds with both
SSL and SQLite disabled define `OPENSSL_NO_QUIC` and skip the QUIC
version headers.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/66372
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
diff --git a/src/node_metadata.cc b/src/node_metadata.cc
index b91b1b48814..b117481da48 100644
--- a/src/node_metadata.cc
+++ b/src/node_metadata.cc
@@ -9,10 +9,10 @@
#include "nbytes.h"
#include "nghttp2/nghttp2ver.h"
#include "node.h"
+#include "quic/guard.h"
#include "simdjson.h"
#include "simdutf.h"
#if HAVE_SQLITE
-#include "quic/guard.h"
#include "sqlite3.h"
#endif // HAVE_SQLITE
#if HAVE_FFI