summaryrefslogtreecommitdiffstats
path: root/osdep/subprocess-win.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-22 14:38:58 +0100
committerwm4 <wm4@nowhere>2014-11-22 14:38:58 +0100
commit1eeca36d5ffbc2cd38766ed1a1cba141c78fd30d (patch)
tree476b7d72e6f189b499ab202807a235924e05f01b /osdep/subprocess-win.c
parent8097cee4c86365bfddad881d418648d8a40bdf75 (diff)
downloadmpv-1eeca36d5ffbc2cd38766ed1a1cba141c78fd30d.tar.bz2
mpv-1eeca36d5ffbc2cd38766ed1a1cba141c78fd30d.tar.xz
subprocess: minor cosmetic cleanup
Don't recursively include the whole stream.h header; only include what's minimally needed, and handle the rest with forward declarations.
Diffstat (limited to 'osdep/subprocess-win.c')
-rw-r--r--osdep/subprocess-win.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/osdep/subprocess-win.c b/osdep/subprocess-win.c
index 04ea4ec3e4..0f6c20126a 100644
--- a/osdep/subprocess-win.c
+++ b/osdep/subprocess-win.c
@@ -16,16 +16,17 @@
*/
#define _WIN32_WINNT 0x0600
-#include "osdep/subprocess.h"
-
#include <windows.h>
#include <string.h>
+#include "osdep/subprocess.h"
+
#include "osdep/io.h"
#include "osdep/atomics.h"
#include "talloc.h"
#include "common/common.h"
+#include "stream/stream.h"
#include "misc/bstr.h"
static void write_arg(bstr *cmdline, char *arg)