From 7ca8c1518cd7b44a92e45de3e5a9242b8938d435 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 19 Feb 2025 16:05:27 +0100 Subject: [PATCH] present: need to include 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 Part-of: --- present/present.h | 2 ++ present/presentext.h | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/present/present.h b/present/present.h index c6762cecc..3aeed270b 100644 --- a/present/present.h +++ b/present/present.h @@ -23,7 +23,9 @@ #ifndef _PRESENT_H_ #define _PRESENT_H_ +#include #include + #include "randrstr.h" #include "presentext.h" diff --git a/present/presentext.h b/present/presentext.h index f177f55dc..57bd6a6b4 100644 --- a/present/presentext.h +++ b/present/presentext.h @@ -23,7 +23,8 @@ #ifndef _PRESENTEXT_H_ #define _PRESENTEXT_H_ -extern _X_EXPORT void -present_extension_init(void); +#include + +_X_EXPORT void present_extension_init(void); #endif /* _PRESENTEXT_H_ */