Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Zinkovsky <igorzi@microsoft.com>2012-01-17 02:26:58 +0400
committerIgor Zinkovsky <igorzi@microsoft.com>2012-01-17 02:44:49 +0400
commit95844451b6651fa5ad66a09f971cc139b90c63aa (patch)
tree8bc07a93a30a554b42c2a840dd8c24dad895dd71 /src
parent60040a4f366d436d759729530f4d19e7e1958e51 (diff)
fix windows build
Diffstat (limited to 'src')
-rw-r--r--src/ngx-queue.h3
-rw-r--r--src/node_vars.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ngx-queue.h b/src/ngx-queue.h
index 8c5e461762b..5d077c5d13a 100644
--- a/src/ngx-queue.h
+++ b/src/ngx-queue.h
@@ -7,6 +7,9 @@
#ifndef _NGX_QUEUE_H_INCLUDED_
#define _NGX_QUEUE_H_INCLUDED_
+#ifdef _WIN32
+# include <stddef.h>
+#endif
typedef struct ngx_queue_s ngx_queue_t;
diff --git a/src/node_vars.h b/src/node_vars.h
index f50938ab984..e0acbff447c 100644
--- a/src/node_vars.h
+++ b/src/node_vars.h
@@ -9,6 +9,10 @@
#include <uv.h>
#include <http_parser.h>
+#if defined(_MSC_VER)
+# define PATH_MAX MAX_PATH
+#endif
+
#ifndef PATH_MAX
# define PATH_MAX 4096
#endif