Add string.h for strndup.

This commit is contained in:
Miao Jiang 2013-04-10 03:40:16 +08:00
parent 1ba3bb2329
commit 5e48419e18

View file

@ -9,6 +9,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#define NODE_CURL_EXPORT(name) export_curl_options(t, #name, name, sizeof(name) / sizeof(CurlOption)); #define NODE_CURL_EXPORT(name) export_curl_options(t, #name, name, sizeof(name) / sizeof(CurlOption));