From 226910f782cb31dd88455145245607018072be3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sun, 18 Sep 2022 14:17:45 +0200 Subject: [PATCH] src: remove from node_os.cc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The file does not use sysconf() and its use of gethostname() has been removed, so including appears to be unnecessary. PR-URL: https://github.com/nodejs/node/pull/44668 Reviewed-By: Anna Henningsen Reviewed-By: Michaƫl Zasso Reviewed-By: Richard Lau Reviewed-By: Jiawen Geng Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- src/node_os.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node_os.cc b/src/node_os.cc index 52bb82a2b68..50c4eb4e8e2 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -28,7 +28,6 @@ #endif // __MINGW32__ #ifdef __POSIX__ -# include // gethostname, sysconf # include // PATH_MAX on Solaris. #endif // __POSIX__