externsion.h required bits from Xfuncproto.h and dixstruct.h, but included neither; fix that.
It also had _XFUNCPROTOBEGIN and _XFUNCPROTOEND wrappers, which is a bit pointless for a server-only library, as it's only needed for C++. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Cyril Brulebois <[email protected]> Reviewed-by: Jamey Sharp <[email protected]> Reviewed-by: Peter Hutterer <[email protected]> Signed-off-by: Peter Hutterer <[email protected]> --- include/extension.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/extension.h b/include/extension.h index c7f51b9..f0560d7 100644 --- a/include/extension.h +++ b/include/extension.h @@ -47,7 +47,9 @@ SOFTWARE. #ifndef EXTENSION_H #define EXTENSION_H -_XFUNCPROTOBEGIN +#include <X11/Xfuncproto.h> + +#include "dixstruct.h" extern _X_EXPORT unsigned short StandardMinorOpcode(ClientPtr /*client */ ); @@ -60,5 +62,4 @@ extern _X_EXPORT void InitExtensions(int argc, char **argv); extern _X_EXPORT void CloseDownExtensions(void); -_XFUNCPROTOEND #endif /* EXTENSION_H */ -- 1.7.10.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
