From c20489ee40e3670e36c1dd32eab20c366529003a Mon Sep 17 00:00:00 2001 From: Kamil Kwolek Date: Sat, 1 Feb 2014 11:53:45 +0100 Subject: [PATCH] fix XS build on Windows #1433 #1681 --- xs/Build.PL | 1 + xs/src/Config.hpp | 3 +-- xs/src/Point.cpp | 4 ++-- xs/src/myinit.h | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/xs/Build.PL b/xs/Build.PL index b3586231..9478c9e9 100644 --- a/xs/Build.PL +++ b/xs/Build.PL @@ -36,6 +36,7 @@ my $build = Module::Build::WithXSpp->new( cstring cstdlib ostream + sstream )] ); diff --git a/xs/src/Config.hpp b/xs/src/Config.hpp index 0e68437f..60918add 100644 --- a/xs/src/Config.hpp +++ b/xs/src/Config.hpp @@ -1,9 +1,7 @@ #ifndef slic3r_Config_hpp_ #define slic3r_Config_hpp_ -#include #include -#include #include #include #include @@ -11,6 +9,7 @@ #include #include #include +#include #include "Point.hpp" namespace Slic3r { diff --git a/xs/src/Point.cpp b/xs/src/Point.cpp index 9b95c6fb..8eb752fd 100644 --- a/xs/src/Point.cpp +++ b/xs/src/Point.cpp @@ -1,7 +1,7 @@ -#include "Point.hpp" -#include "Line.hpp" #include #include +#include "Point.hpp" +#include "Line.hpp" namespace Slic3r { diff --git a/xs/src/myinit.h b/xs/src/myinit.h index 14e25fd4..43ed407b 100644 --- a/xs/src/myinit.h +++ b/xs/src/myinit.h @@ -6,6 +6,7 @@ #undef seekdir #include #include +#include #ifdef SLIC3RXS extern "C" {