(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:
parent
2eaf4ebc08
commit
c2237e1571
|
@ -41,6 +41,8 @@
|
|||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
||||
#include "xf86str.h"
|
||||
#include "xf86Opt.h"
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue