From 648692359a248e156132b3a35c89a0ef2b2edb7d Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 11 Jun 2024 15:42:15 -0700 Subject: [PATCH] Conditionally include asTrapWrite.h from asLib.h To preserve compatibility, while avoiding bootstrapping problems, conditionally include. --- modules/libcom/src/as/asLib.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/libcom/src/as/asLib.h b/modules/libcom/src/as/asLib.h index 73a482a62f..b30c0c3fee 100644 --- a/modules/libcom/src/as/asLib.h +++ b/modules/libcom/src/as/asLib.h @@ -17,6 +17,9 @@ #include "ellLib.h" #include "errMdef.h" #include "errlog.h" +#ifndef BUILDING_libCom_API +# include +#endif #ifdef __cplusplus extern "C" {