diff --git a/common/swig/kiway_player.i b/common/swig/kiway_player.i index a25871b416..2880d03762 100644 --- a/common/swig/kiway_player.i +++ b/common/swig/kiway_player.i @@ -1,7 +1,6 @@ // Swig interface to classes KIWAY_PLAYER and KIWAY_HOLDER - %include kiway_player.h %{ #include diff --git a/pcbnew/swig/board.i b/pcbnew/swig/board.i index 1d40891dcb..a7f6cf8f48 100644 --- a/pcbnew/swig/board.i +++ b/pcbnew/swig/board.i @@ -40,6 +40,7 @@ throw and add them here, each before its respective class declaration. HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints) +%include %{ #include #include @@ -105,6 +106,9 @@ HANDLE_EXCEPTIONS(BOARD::TracksInNetBetweenPoints) %include class_zone_settings.h +%{ +#include +%} %include netinfo.i %include netclass.i