From b9bd82e5ea2e1933a495e956fcc4daf1b52388b9 Mon Sep 17 00:00:00 2001 From: Peter Donovan Date: Thu, 21 Jul 2022 22:07:15 -0700 Subject: [PATCH] Use monolithic include to work around bad build. --- core/CMakeLists.txt | 1 - core/reactor_common.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index cead8a294..a17af0315 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -48,7 +48,6 @@ add_subdirectory(utils) # List sources in this directory. set(SINGLE_THREADED_SOURCES reactor.c) -list(APPEND GENERAL_SOURCES port.c) # Determine which sources to include. list(APPEND SOURCES ${GENERAL_SOURCES}) diff --git a/core/reactor_common.c b/core/reactor_common.c index 8195b878b..843e438a0 100644 --- a/core/reactor_common.c +++ b/core/reactor_common.c @@ -42,6 +42,7 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "utils/pqueue_support.h" #include "utils/util.c" #include "modal_models/modes.c" +#include "port.c" /** * Indicator of whether to wait for physical time to match logical time.