projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85a776
)
Include windows.h in node_file.cc
author
Bert Belder
<bertbelder@gmail.com>
Thu, 25 Nov 2010 00:23:07 +0000
(
01:23
+0100)
committer
Bert Belder
<bertbelder@gmail.com>
Mon, 20 Dec 2010 22:50:40 +0000
(23:50 +0100)
src/node_file.cc
patch
|
blob
|
history
diff --git
a/src/node_file.cc
b/src/node_file.cc
index
d7f8b95
..
a9f438a
100644
(file)
--- a/
src/node_file.cc
+++ b/
src/node_file.cc
@@
-15,6
+15,10
@@
#include <errno.h>
#include <limits.h>
+#ifdef __MINGW32__
+#include <windows.h>
+#endif
+
/* used for readlink, AIX doesn't provide it */
#ifndef PATH_MAX
#define PATH_MAX 4096