Index: nss/nss/lib/ssl/sslt.h
===================================================================
--- nss.orig/nss/lib/ssl/sslt.h
+++ nss/nss/lib/ssl/sslt.h
@@ -447,8 +447,10 @@ typedef struct SSLPreliminaryChannelInfo
      * should use the following hostname extracted from the ECHConfig. */
     const char* echPublicName;
 
+#ifdef NSS_PRELIMINARY_CHANNEL_INFO_EARLY_DATA
     /* The following field was added in NSS 3.85. */
     PRBool ticketSupportsEarlyData;
+#endif
 
     /* When adding new fields to this structure, please document the
      * NSS version in which they were added. */
Index: nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc
===================================================================
--- nss.orig/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc
+++ nss/nss/gtests/nss_bogo_shim/nss_bogo_shim.cc
@@ -3,6 +3,7 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
+#define NSS_PRELIMINARY_CHANNEL_INFO_EARLY_DATA
 #include "config.h"
 
 #include <algorithm>
Index: nss/nss/lib/ssl/sslinfo.c
===================================================================
--- nss.orig/nss/lib/ssl/sslinfo.c
+++ nss/nss/lib/ssl/sslinfo.c
@@ -2,6 +2,7 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#define NSS_PRELIMINARY_CHANNEL_INFO_EARLY_DATA
 #include "pk11pub.h"
 #include "ssl.h"
 #include "sslimpl.h"
