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:
Kacper Michajłow committed 2024-11-28 00:45:27 +01:00
1 parent 7899a28699
commit 4ff9f50b6b
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -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;
+2 -2
View File
@@ -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)