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:
parent
b55d726a7b
commit
7ca8c1518c
|
@ -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…
Reference in New Issue