Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: tools/gn/exec_process.cc

Issue 1421293008: include what you use: errno.h in exec_process.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge posix includes into else case Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/exec_process.cc
diff --git a/tools/gn/exec_process.cc b/tools/gn/exec_process.cc
index e15f595d1541c5a424e975e72ac89880279eb032..107965739741fe5bc5f4efb19ee6afc2012f305d 100644
--- a/tools/gn/exec_process.cc
+++ b/tools/gn/exec_process.cc
@@ -14,9 +14,8 @@
#include "base/win/scoped_handle.h"
#include "base/win/scoped_process_information.h"
-#endif
-
-#if defined(OS_POSIX)
+#else
+#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698