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.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'osdep/subprocess.h') diff --git a/osdep/subprocess.h b/osdep/subprocess.h index 1ab4ddbdd7..09c07da981 100644 --- a/osdep/subprocess.h +++ b/osdep/subprocess.h @@ -18,7 +18,9 @@ #ifndef MP_SUBPROCESS_H_ #define MP_SUBPROCESS_H_ -#include "stream/stream.h" +#include + +struct mp_cancel; typedef void (*subprocess_read_cb)(void *ctx, char *data, size_t size); -- cgit v1.2.3