mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
player/clipboard/clipboard: don't include global.h in header
This header should not be included except when really needed.
Fixes: e1d30c4c5a
This commit is contained in:
@@ -15,10 +15,12 @@
|
||||
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "clipboard.h"
|
||||
|
||||
#include "common/common.h"
|
||||
#include "common/global.h"
|
||||
#include "options/m_config.h"
|
||||
#include "player/core.h"
|
||||
#include "clipboard.h"
|
||||
|
||||
struct clipboard_opts {
|
||||
bool enabled;
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "common/common.h"
|
||||
#include "common/global.h"
|
||||
#include "video/mp_image.h"
|
||||
|
||||
struct clipboard_ctx;
|
||||
struct mp_image;
|
||||
struct MPContext;
|
||||
struct mpv_global;
|
||||
|
||||
#define CLIPBOARD_INIT_ENABLE_MONITORING (1 << 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user