From 032f651824869c429cc24fbd9f7a23e84ed34b1f Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 10 May 2010 16:05:42 -0700 Subject: Check for strings.h --- src/node_child_process.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/node_child_process.cc') 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 #include -#include #include #include #include @@ -13,6 +12,12 @@ #include #endif +#ifdef HAVE_STRINGS_H +# include +#else +# include +#endif + extern char **environ; namespace node { -- cgit v1.2.3