present: need to include <X11/Xfuncproto.h>

Some headers making use of X_EXPORT macro, so Xfuncproto.h should be
included explicitly, instead of silently relying any other include
already doing that.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1813>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-19 16:05:27 +01:00 committed by Marge Bot
parent b55d726a7b
commit 7ca8c1518c
2 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,9 @@
#ifndef _PRESENT_H_
#define _PRESENT_H_
#include <X11/Xfuncproto.h>
#include <X11/extensions/presentproto.h>
#include "randrstr.h"
#include "presentext.h"

View File

@ -23,7 +23,8 @@
#ifndef _PRESENTEXT_H_
#define _PRESENTEXT_H_
extern _X_EXPORT void
present_extension_init(void);
#include <X11/Xfuncproto.h>
_X_EXPORT void present_extension_init(void);
#endif /* _PRESENTEXT_H_ */