summaryrefslogtreecommitdiff
path: root/src/node_net2.cc
diff options
context:
space:
mode:
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>