From 1eeca36d5ffbc2cd38766ed1a1cba141c78fd30d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Nov 2014 14:38:58 +0100 Subject: 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. --- osdep/subprocess-posix.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'osdep/subprocess-posix.c') diff --git a/osdep/subprocess-posix.c b/osdep/subprocess-posix.c index 8dcc5f6304..82af7c5f50 100644 --- a/osdep/subprocess-posix.c +++ b/osdep/subprocess-posix.c @@ -15,8 +15,6 @@ * with mpv. If not, see . */ -#include "osdep/subprocess.h" - #include #include #include @@ -25,8 +23,11 @@ #include #include +#include "osdep/subprocess.h" + #include "osdep/io.h" #include "common/common.h" +#include "stream/stream.h" // Normally, this must be declared manually, but glibc is retarded. #ifndef __GLIBC__ -- cgit v1.2.3