diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-05-11 03:05:42 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-05-11 03:30:31 +0400 |
commit | 032f651824869c429cc24fbd9f7a23e84ed34b1f (patch) | |
tree | 57296a3cf301022dd600d7375874d24f28ae1905 /src/node_crypto.cc | |
parent | 35dd0fb2716f7848be34bd66f7420a5f2f3c80e7 (diff) |
Check for strings.h
Diffstat (limited to 'src/node_crypto.cc')
-rw-r--r-- | src/node_crypto.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 284ae4996d2..50519b42791 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.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 <errno.h> |