Don't include ostream in lock_impl.h

ostream is large, and lock_impl.h is included frequently.

No behavior change.

Bug: 242216
Change-Id: I935f5464c7b87594c3f95452f31b98cfe2df8935
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3540400
Reviewed-by: Hans Wennborg <hans@chromium.org>
Auto-Submit: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#983354}
NOKEYCHECK=True
GitOrigin-RevId: f718af8329751bcc878e345d523fd5c05f402da6
diff --git a/linux/services/scoped_process.cc b/linux/services/scoped_process.cc
index db0c6d4..1ebbe08 100644
--- a/linux/services/scoped_process.cc
+++ b/linux/services/scoped_process.cc
@@ -12,6 +12,8 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
+#include <ostream>
+
 #include "base/callback.h"
 #include "base/check_op.h"
 #include "base/notreached.h"