diff --git a/pcbnew/specctra.cpp b/pcbnew/specctra.cpp index e7e129882e..28a439326f 100644 --- a/pcbnew/specctra.cpp +++ b/pcbnew/specctra.cpp @@ -57,7 +57,7 @@ // To build the DSN beautifier and unit tester, simply uncomment this and then // use CMake's makefile to build target "specctra_test". -//#define STANDALONE // define "stand alone, i.e. unit testing" +#define STANDALONE // define "stand alone, i.e. unit testing" #if defined(STANDALONE) @@ -4010,6 +4010,9 @@ void PLACE::Format( OUTPUTFORMATTER* out, int nestLevel ) throw( IOError ) #if defined(STANDALONE) + +#include "common.h" // IsOK() & EDA_FileSelector() + using namespace DSN;