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_child_process.cc | |
parent | 35dd0fb2716f7848be34bd66f7420a5f2f3c80e7 (diff) | |
download | nodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.gz nodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.bz2 nodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.zip |
Check for strings.h
Diffstat (limited to 'src/node_child_process.cc')
-rw-r--r-- | src/node_child_process.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/node_child_process.cc b/src/node_child_process.cc index 6c84514e1..d240d6fbf 100644 --- a/src/node_child_process.cc +++ b/src/node_child_process.cc @@ -3,7 +3,6 @@ #include <node.h> #include <assert.h> -#include <string.h> #include <stdlib.h> #include <errno.h> #include <unistd.h> @@ -13,6 +12,12 @@ #include <sys/wait.h> #endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#else +# include <string.h> +#endif + extern char **environ; namespace node { |