mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-25 13:10:45 +02:00
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>
(cherry picked from commit 7ca8c1518c)
This commit is contained in:
parent
09f7a0303f
commit
b0f1885019
2 changed files with 5 additions and 2 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue