(submit/xfuncproto) fix mising includes of <X11/Xfuncproto.h>

Several places using _X_ATTRIBUTE_PRINTF macro from X11/Xfuncproto.h
but missing to include it, so it depends on other headers whether it's
included by mere accident, which quickly causes trouble if include order
changes. Cleaning that up by adding explicit include statements.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-02-26 17:33:45 +01:00
parent 560abd69ff
commit f4398c6e30
2 changed files with 4 additions and 1 deletions

View File

@@ -41,6 +41,8 @@
#include <dix-config.h>
#endif
#include <X11/Xfuncproto.h>
#include "xf86str.h"
#include "xf86Opt.h"
#include <X11/Xfuncproto.h>

View File

@@ -36,6 +36,8 @@
#include <dix-config.h>
#include <X11/Xfuncproto.h>
#include <X11/Xmd.h>
#include <X11/extensions/panoramiXproto.h>
#include "miext/extinit_priv.h"
@@ -44,7 +46,6 @@
#include "nonsdk_extinit.h"
#include "dixstruct.h"
#include "window.h"
#include <X11/extensions/panoramiXproto.h>
#include "globals.h"
#define TRACE LogMessageVerb(X_NONE, 10, "TRACE " __FILE__ ":%s", __FUNCTION__)