summaryrefslogtreecommitdiff
path: root/src/node_stat_watcher.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-05-10 16:05:42 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-05-10 16:30:31 -0700
commit032f651824869c429cc24fbd9f7a23e84ed34b1f (patch)
tree57296a3cf301022dd600d7375874d24f28ae1905 /src/node_stat_watcher.cc
parent35dd0fb2716f7848be34bd66f7420a5f2f3c80e7 (diff)
downloadandroid-node-v8-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.gz
android-node-v8-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.bz2
android-node-v8-032f651824869c429cc24fbd9f7a23e84ed34b1f.zip
Check for strings.h
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r--src/node_stat_watcher.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc
index 88ae9c6940..816ec961ca 100644
--- a/src/node_stat_watcher.cc
+++ b/src/node_stat_watcher.cc
@@ -2,8 +2,12 @@
#include <node_stat_watcher.h>
#include <assert.h>
-#include <string.h>
#include <stdlib.h>
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#else
+# include <string.h>
+#endif
namespace node {