diff --git a/binding.gyp b/binding.gyp index 29a4bac..38178bc 100644 --- a/binding.gyp +++ b/binding.gyp @@ -12,7 +12,7 @@ { 'target_name': '<(module_name)', 'include_dirs': [ - '<@(osrm)/include/osrm', + '<@(osrm)/include/', './src/' ], 'libraries': [ diff --git a/src/engine.hpp b/src/engine.hpp index 845605c..ad0a45f 100644 --- a/src/engine.hpp +++ b/src/engine.hpp @@ -9,10 +9,10 @@ #include #include -#include +#include +#include #include "query.hpp" #include "options.hpp" -#include using namespace v8; diff --git a/src/node_osrm.cpp b/src/node_osrm.cpp index f3e47c9..6a9db52 100644 --- a/src/node_osrm.cpp +++ b/src/node_osrm.cpp @@ -14,10 +14,6 @@ #include "query.hpp" #include "engine.hpp" -// osrm -#include - - namespace node_osrm { using namespace v8; diff --git a/src/options.hpp b/src/options.hpp index fe9c9cc..376ebad 100644 --- a/src/options.hpp +++ b/src/options.hpp @@ -12,7 +12,7 @@ #include #include -#include +#include using namespace v8; diff --git a/src/query.hpp b/src/query.hpp index 6bdf1c3..c1f40a9 100644 --- a/src/query.hpp +++ b/src/query.hpp @@ -9,7 +9,7 @@ #include #include -#include +#include using namespace v8;