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
2024-11-27 22:25:45 +01:00
parent 7899a28699
commit 4ff9f50b6b
2 changed files with 5 additions and 3 deletions
+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)