26 lines
636 B
Diff
26 lines
636 B
Diff
From b4191a55ea36530d8ac7478de72f5d7dc97967b1 Mon Sep 17 00:00:00 2001
|
|
From: mati865 <mati865@gmail.com>
|
|
Date: Sun, 4 Sep 2016 13:25:45 +0200
|
|
Subject: [PATCH 05/13] skip unneeded includes
|
|
|
|
---
|
|
src/node.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/node.cc b/src/node.cc
|
|
index e1bfb66..b5181c3 100644
|
|
--- a/src/node.cc
|
|
+++ b/src/node.cc
|
|
@@ -76,7 +76,7 @@
|
|
#define getpid GetCurrentProcessId
|
|
#define umask _umask
|
|
typedef int mode_t;
|
|
-#else
|
|
+#elif !defined(__MINGW64_VERSION_MAJOR)
|
|
#include <pthread.h>
|
|
#include <sys/resource.h> // getrlimit, setrlimit
|
|
#include <unistd.h> // setuid, getuid
|
|
--
|
|
2.9.1
|
|
|