summaryrefslogtreecommitdiff
path: root/src/node_net2.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_net2.cc
parent35dd0fb2716f7848be34bd66f7420a5f2f3c80e7 (diff)
downloadnodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.gz
nodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.tar.bz2
nodejs-032f651824869c429cc24fbd9f7a23e84ed34b1f.zip
Check for strings.h
Diffstat (limited to 'src/node_net2.cc')
-rw-r--r--src/node_net2.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node_net2.cc b/src/node_net2.cc
index 865bf7c50..d9d485ce7 100644
--- a/src/node_net2.cc
+++ b/src/node_net2.cc
@@ -4,7 +4,11 @@
#include <node.h>
#include <node_buffer.h>
-#include <string.h>
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#else
+# include <string.h>
+#endif
#include <stdlib.h>
#include <sys/types.h>