diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-05-01 19:40:37 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2024-05-06 22:01:17 +0200 |
commit | 18ef834ef411893b92e177855ee893f05a0859e9 (patch) | |
tree | 7da1ba0076a444cef83331896d022c5205bb085e /stream | |
parent | e1e09938c5869929c3a7d1a81618b7b2e777ef6d (diff) | |
download | mpv-18ef834ef411893b92e177855ee893f05a0859e9.tar.bz2 mpv-18ef834ef411893b92e177855ee893f05a0859e9.tar.xz |
various: move unistd.h inclusion to common.h
Diffstat (limited to 'stream')
-rw-r--r-- | stream/cookies.c | 1 | ||||
-rw-r--r-- | stream/dvb_tune.c | 2 | ||||
-rw-r--r-- | stream/stream_cb.c | 1 | ||||
-rw-r--r-- | stream/stream_dvdnav.c | 1 | ||||
-rw-r--r-- | stream/stream_file.c | 1 | ||||
-rw-r--r-- | stream/stream_slice.c | 1 |
6 files changed, 1 insertions, 6 deletions
diff --git a/stream/cookies.c b/stream/cookies.c index fe61c0e512..140ee6a275 100644 --- a/stream/cookies.c +++ b/stream/cookies.c @@ -24,7 +24,6 @@ #include <stdlib.h> #include <fcntl.h> #include <string.h> -#include <unistd.h> #include <sys/types.h> #include <dirent.h> #include <inttypes.h> diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c index d18f70f7a9..82763756c0 100644 --- a/stream/dvb_tune.c +++ b/stream/dvb_tune.c @@ -28,12 +28,12 @@ #include <stdlib.h> #include <sys/ioctl.h> #include <poll.h> -#include <unistd.h> #include <fcntl.h> #include <errno.h> #include <linux/dvb/dmx.h> #include <linux/dvb/frontend.h> +#include "common/common.h" #include "osdep/io.h" #include "osdep/timer.h" #include "dvbin.h" diff --git a/stream/stream_cb.c b/stream/stream_cb.c index 29e556390c..104fff0b05 100644 --- a/stream/stream_cb.c +++ b/stream/stream_cb.c @@ -2,7 +2,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include <unistd.h> #include <errno.h> #include "osdep/io.h" diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c index 5dba92ada5..1abbb9ffe8 100644 --- a/stream/stream_dvdnav.c +++ b/stream/stream_dvdnav.c @@ -23,7 +23,6 @@ #include <stdlib.h> #include <stdio.h> -#include <unistd.h> #include <string.h> #include <strings.h> #include <errno.h> diff --git a/stream/stream_file.c b/stream/stream_file.c index 89e7a2d9f1..ff78e7d370 100644 --- a/stream/stream_file.c +++ b/stream/stream_file.c @@ -23,7 +23,6 @@ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> -#include <unistd.h> #include <errno.h> #ifndef __MINGW32__ diff --git a/stream/stream_slice.c b/stream/stream_slice.c index c0dbeeb2af..4b2f475c4c 100644 --- a/stream/stream_slice.c +++ b/stream/stream_slice.c @@ -19,7 +19,6 @@ #include <stdint.h> #include <string.h> #include <sys/types.h> -#include <unistd.h> #include "common/common.h" #include "options/m_option.h" |