From 3036b85d71fda2a780547be779e38046608b0e10 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 4a3b9f608d702f..451ff08cc3ff39 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__