summaryrefslogtreecommitdiffstats
path: root/osdep/subprocess.h
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.h
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.h')
-rw-r--r--osdep/subprocess.h4
1 files changed, 3 insertions, 1 deletions
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 <stddef.h>
+
+struct mp_cancel;
typedef void (*subprocess_read_cb)(void *ctx, char *data, size_t size);