mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 22:57:42 +00:00
mp_fifo.c, osdep/: Include corresponding .h in .c files
This commit is contained in:
parent
13110e92ba
commit
f59cda84b1
@ -2,6 +2,7 @@
|
||||
#include "osdep/timer.h"
|
||||
#include "input/input.h"
|
||||
#include "input/mouse.h"
|
||||
#include "mp_fifo.h"
|
||||
|
||||
|
||||
int key_fifo_size = 7;
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "keycodes.h"
|
||||
#include "input/input.h"
|
||||
#include "mp_fifo.h"
|
||||
#include "getch2.h"
|
||||
|
||||
#if defined( USE_LANGINFO ) && defined( USE_ICONV )
|
||||
#include <locale.h>
|
||||
|
@ -10,6 +10,8 @@
|
||||
#include "keycodes.h"
|
||||
#include "input/input.h"
|
||||
#include "mp_fifo.h"
|
||||
#include "getch2.h"
|
||||
|
||||
// HACK, stdin is used as something else below
|
||||
#undef stdin
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
|
||||
#include "mp_fifo.h"
|
||||
#include "keycodes.h"
|
||||
#include "getch2.h"
|
||||
|
||||
#ifdef HAVE_TERMIOS
|
||||
static struct termios tio_orig;
|
||||
|
@ -9,6 +9,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include "mmap_anon.h"
|
||||
|
||||
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include <sys/shm.h>
|
||||
#endif
|
||||
|
||||
#include "shmem.h"
|
||||
|
||||
#if defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
|
||||
#define MAP_ANON MAP_ANONYMOUS
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user