aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/eina_js/eina_js_node.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/eina_js/eina_js_node.hh')
-rw-r--r--src/bindings/eina_js/eina_js_node.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bindings/eina_js/eina_js_node.hh b/src/bindings/eina_js/eina_js_node.hh
new file mode 100644
index 0000000000..cfa4169d82
--- /dev/null
+++ b/src/bindings/eina_js/eina_js_node.hh
@@ -0,0 +1,14 @@
+
+#ifdef HAVE_NODE_NODE_H
+#include <node/node.h>
+#elif defined(HAVE_NODEJS_DEPS_NODE_NODE_H)
+#include <nodejs/deps/node/node.h>
+#elif defined(HAVE_NODEJS_DEPS_NODE_INCLUDE_NODE_H)
+#include <nodejs/deps/node/include/node.h>
+#elif defined(HAVE_NODEJS_SRC_NODE_H)
+#include <nodejs/src/node.h>
+#elif defined(HAVE_NODE_H)
+#include <node.h>
+#else
+#error We must have at least one node header to include
+#endif