Skip to content

Commit 15be38e

Browse files
tniessenRafaelGSS
authored andcommitted
src: remove <unistd.h> from node_os.cc
The file does not use sysconf() and its use of gethostname() has been removed, so including <unistd.h> appears to be unnecessary. PR-URL: #44668 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 934cc9a commit 15be38e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/node_os.cc

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#endif // __MINGW32__
2929

3030
#ifdef __POSIX__
31-
# include <unistd.h> // gethostname, sysconf
3231
# include <climits> // PATH_MAX on Solaris.
3332
#endif // __POSIX__
3433

0 commit comments

Comments
 (0)