diff options
author | LaserEyess <lasereyess@users.noreply.github.com> | 2022-11-16 14:44:12 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-11-20 19:13:59 +0000 |
commit | 303178e6451da7072aa71ce5e3cbffc233d6dbd1 (patch) | |
tree | 2b0261e871ad89d9104c662dec50ff1f8f87e6c5 /video/out | |
parent | 04f765da6fb407c7ebe1833403a6049e2c9df6ce (diff) | |
download | mpv-303178e6451da7072aa71ce5e3cbffc233d6dbd1.tar.bz2 mpv-303178e6451da7072aa71ce5e3cbffc233d6dbd1.tar.xz |
wlbuf_pool.h: add headers for forward declarations
This was previously implicitly included by the order of headers in
vo_dmabuf_wayland.c, but it is better to make it an explicit and reorder
the headers properly.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/vo_dmabuf_wayland.c | 2 | ||||
-rw-r--r-- | video/out/wlbuf_pool.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/video/out/vo_dmabuf_wayland.c b/video/out/vo_dmabuf_wayland.c index ad3202db63..24ced832ab 100644 --- a/video/out/vo_dmabuf_wayland.c +++ b/video/out/vo_dmabuf_wayland.c @@ -40,9 +40,9 @@ #endif #include "present_sync.h" #include "wayland_common.h" +#include "wlbuf_pool.h" #include "generated/wayland/linux-dmabuf-unstable-v1.h" #include "generated/wayland/viewporter.h" -#include "wlbuf_pool.h" struct priv { struct mp_log *log; diff --git a/video/out/wlbuf_pool.h b/video/out/wlbuf_pool.h index cf86f523d6..8e0f03640b 100644 --- a/video/out/wlbuf_pool.h +++ b/video/out/wlbuf_pool.h @@ -15,6 +15,9 @@ * License along with mpv. If not, see <http://www.gnu.org/licenses/>. */ +#include "wayland_common.h" +#include "generated/wayland/linux-dmabuf-unstable-v1.h" + struct wlbuf_pool_entry; typedef uintptr_t (*wlbuf_pool_key_provider)(struct mp_image *src); |