diff --git a/pcbnew/import_dxf/dxf2brd_items.cpp b/pcbnew/import_dxf/dxf2brd_items.cpp index c24bbd62e5..fa3ba4ff62 100644 --- a/pcbnew/import_dxf/dxf2brd_items.cpp +++ b/pcbnew/import_dxf/dxf2brd_items.cpp @@ -47,6 +47,7 @@ #include #include #include +#include "common.h" #include // minimum bulge value before resorting to a line segment; @@ -91,6 +92,7 @@ int DXF2BRD_CONVERTER::mapDim( double aDxfValue ) bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile ) { + LOCALE_IO locale; dxfRW* dxf = new dxfRW( aFile.ToUTF8() ); bool success = dxf->read( this, true );