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 /misc | |
parent | e1e09938c5869929c3a7d1a81618b7b2e777ef6d (diff) | |
download | mpv-18ef834ef411893b92e177855ee893f05a0859e9.tar.bz2 mpv-18ef834ef411893b92e177855ee893f05a0859e9.tar.xz |
various: move unistd.h inclusion to common.h
Diffstat (limited to 'misc')
-rw-r--r-- | misc/io_utils.c | 2 | ||||
-rw-r--r-- | misc/path_utils.c | 2 | ||||
-rw-r--r-- | misc/thread_tools.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/misc/io_utils.c b/misc/io_utils.c index c973cee0e4..6a98336553 100644 --- a/misc/io_utils.c +++ b/misc/io_utils.c @@ -23,10 +23,10 @@ #include <stdlib.h> #include <sys/types.h> #include <limits.h> -#include <unistd.h> #include "mpv_talloc.h" #include "config.h" +#include "common/common.h" #include "misc/random.h" #include "misc/io_utils.h" #include "osdep/io.h" diff --git a/misc/path_utils.c b/misc/path_utils.c index a1484a9046..7252834e7e 100644 --- a/misc/path_utils.c +++ b/misc/path_utils.c @@ -24,12 +24,12 @@ #include <stdbool.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <errno.h> #include "config.h" #include "mpv_talloc.h" +#include "common/common.h" #include "osdep/io.h" #include "misc/ctype.h" #include "misc/path_utils.h" diff --git a/misc/thread_tools.c b/misc/thread_tools.c index 0f7fe8f77a..43426a7546 100644 --- a/misc/thread_tools.c +++ b/misc/thread_tools.c @@ -18,7 +18,6 @@ #include <stdatomic.h> #include <string.h> #include <sys/types.h> -#include <unistd.h> #ifdef __MINGW32__ #include <windows.h> |