From 58230b408a7fd0eec5cdaa03c1ba712ad5bfe0e3 Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Thu, 20 Apr 2017 15:41:25 +0200 Subject: [PATCH] src: add fcntl.h include to node.cc https://github.com/nodejs/node/pull/11863 adds _O_RDWR to node.cc which is defined in fcntl.h. This adds this include directly to node.cc. PR-URL: https://github.com/nodejs/node/pull/12540 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Gibson Fahnestock Reviewed-By: Anna Henningsen Reviewed-By: Myles Borins --- src/node.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.cc b/src/node.cc index b48c4b06a15b6c..a5390e12f3e2d2 100644 --- a/src/node.cc +++ b/src/node.cc @@ -51,6 +51,7 @@ #endif #include +#include // _O_RDWR #include // PATH_MAX #include #include