From 0f8dac81cb6fda3c26615f2b83cd9200fd88838e Mon Sep 17 00:00:00 2001 From: Armin Schoisswohl Date: Wed, 6 Mar 2024 19:24:50 +0100 Subject: [PATCH] add include to fix compilation under linux --- pcbnew/board.cpp | 1 + pcbnew/drc/drc_cache_generator.cpp | 1 + pcbnew/drc/drc_test_provider_disallow.cpp | 1 + pcbnew/pcbexpr_evaluator.cpp | 1 + pcbnew/pcbexpr_functions.cpp | 1 + pcbnew/zone.cpp | 1 + 6 files changed, 6 insertions(+) diff --git a/pcbnew/board.cpp b/pcbnew/board.cpp index 85dad68951..1b4d353cec 100644 --- a/pcbnew/board.cpp +++ b/pcbnew/board.cpp @@ -62,6 +62,7 @@ #include #include #include +#include // This is an odd place for this, but CvPcb won't link if it's in board_item.cpp like I first // tried it. diff --git a/pcbnew/drc/drc_cache_generator.cpp b/pcbnew/drc/drc_cache_generator.cpp index 47d40851f6..2a12019f8d 100644 --- a/pcbnew/drc/drc_cache_generator.cpp +++ b/pcbnew/drc/drc_cache_generator.cpp @@ -30,6 +30,7 @@ #include #include #include +#include bool DRC_CACHE_GENERATOR::Run() { diff --git a/pcbnew/drc/drc_test_provider_disallow.cpp b/pcbnew/drc/drc_test_provider_disallow.cpp index 739e1f41dd..634e01195e 100644 --- a/pcbnew/drc/drc_test_provider_disallow.cpp +++ b/pcbnew/drc/drc_test_provider_disallow.cpp @@ -33,6 +33,7 @@ #include #include #include +#include /* diff --git a/pcbnew/pcbexpr_evaluator.cpp b/pcbnew/pcbexpr_evaluator.cpp index 4621243b39..ac9c11a573 100644 --- a/pcbnew/pcbexpr_evaluator.cpp +++ b/pcbnew/pcbexpr_evaluator.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/pcbnew/pcbexpr_functions.cpp b/pcbnew/pcbexpr_functions.cpp index 36b355a4dd..2247072b29 100644 --- a/pcbnew/pcbexpr_functions.cpp +++ b/pcbnew/pcbexpr_functions.cpp @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/pcbnew/zone.cpp b/pcbnew/zone.cpp index 2a9996d78c..dd407c31a5 100644 --- a/pcbnew/zone.cpp +++ b/pcbnew/zone.cpp @@ -40,6 +40,7 @@ #include #include #include +#include ZONE::ZONE( BOARD_ITEM_CONTAINER* aParent ) :