summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc
index 46d2a796c..f846115c7 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -24,7 +24,9 @@
#include <uv.h>
#include <v8-debug.h>
-#include <node_dtrace.h>
+#ifdef HAVE_DTRACE
+# include <node_dtrace.h>
+#endif
#include <locale.h>
#include <signal.h>