diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-05-10 16:05:42 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-05-10 16:30:31 -0700 |
commit | 032f651824869c429cc24fbd9f7a23e84ed34b1f (patch) | |
tree | 57296a3cf301022dd600d7375874d24f28ae1905 /src/node_stat_watcher.cc | |
parent | 35dd0fb2716f7848be34bd66f7420a5f2f3c80e7 (diff) | |
download | node-new-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.gz |
Check for strings.h
Diffstat (limited to 'src/node_stat_watcher.cc')
-rw-r--r-- | src/node_stat_watcher.cc | 6 |
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 { |