diff options
Diffstat (limited to 'src/node.cc')
-rw-r--r-- | src/node.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index 0fb925d64..bfb481e75 100644 --- a/src/node.cc +++ b/src/node.cc @@ -5,7 +5,6 @@ #include <stdio.h> #include <stdlib.h> -#include <strings.h> #include <limits.h> /* PATH_MAX */ #include <assert.h> #include <unistd.h> @@ -14,6 +13,12 @@ #include <sys/types.h> #include <unistd.h> /* setuid, getuid */ +#ifdef HAVE_STRINGS_H +# include <strings.h> +#else +# include <string.h> +#endif + #include <node_buffer.h> #include <node_io_watcher.h> #include <node_net2.h> |