add include <mutex> to fix compilation under linux

This commit is contained in:
Armin Schoisswohl 2024-03-06 19:24:50 +01:00 committed by Jeff Young
parent 1f1b97212b
commit 0f8dac81cb
6 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,7 @@
#include <string_utils.h> #include <string_utils.h>
#include <core/thread_pool.h> #include <core/thread_pool.h>
#include <zone.h> #include <zone.h>
#include <mutex>
// This is an odd place for this, but CvPcb won't link if it's in board_item.cpp like I first // This is an odd place for this, but CvPcb won't link if it's in board_item.cpp like I first
// tried it. // tried it.

View File

@ -30,6 +30,7 @@
#include <drc/drc_engine.h> #include <drc/drc_engine.h>
#include <drc/drc_rtree.h> #include <drc/drc_rtree.h>
#include <drc/drc_cache_generator.h> #include <drc/drc_cache_generator.h>
#include <mutex>
bool DRC_CACHE_GENERATOR::Run() bool DRC_CACHE_GENERATOR::Run()
{ {

View File

@ -33,6 +33,7 @@
#include <progress_reporter.h> #include <progress_reporter.h>
#include <core/thread_pool.h> #include <core/thread_pool.h>
#include <zone.h> #include <zone.h>
#include <mutex>
/* /*

View File

@ -24,6 +24,7 @@
#include <cstdio> #include <cstdio>
#include <memory> #include <memory>
#include <mutex>
#include <board.h> #include <board.h>
#include <board_connected_item.h> #include <board_connected_item.h>
#include <pcbexpr_evaluator.h> #include <pcbexpr_evaluator.h>

View File

@ -24,6 +24,7 @@
#include <cstdio> #include <cstdio>
#include <memory> #include <memory>
#include <mutex>
#include <wx/log.h> #include <wx/log.h>
#include <board.h> #include <board.h>
#include <board_design_settings.h> #include <board_design_settings.h>

View File

@ -40,6 +40,7 @@
#include <settings/settings_manager.h> #include <settings/settings_manager.h>
#include <trigo.h> #include <trigo.h>
#include <i18n_utility.h> #include <i18n_utility.h>
#include <mutex>
ZONE::ZONE( BOARD_ITEM_CONTAINER* aParent ) : ZONE::ZONE( BOARD_ITEM_CONTAINER* aParent ) :