diff --git a/example/getting_started1.cpp b/example/getting_started1.cpp index 697bf071..09d68103 100644 --- a/example/getting_started1.cpp +++ b/example/getting_started1.cpp @@ -2,6 +2,8 @@ // Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#include +#include #include namespace { // Avoid cluttering the global namespace. @@ -11,8 +13,6 @@ namespace { // Avoid cluttering the global namespace. int square(int number) { return number * number; } } -#include -#include namespace python = boost::python; // Python requires an exported function called init in every diff --git a/example/getting_started2.cpp b/example/getting_started2.cpp index 6c01240d..ee8af32e 100644 --- a/example/getting_started2.cpp +++ b/example/getting_started2.cpp @@ -2,6 +2,9 @@ // Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#include +#include +#include #include #include @@ -23,10 +26,6 @@ namespace { // Avoid cluttering the global namespace. } } -#include -#include -#include - BOOST_PYTHON_MODULE(getting_started2) { using namespace boost::python;