Skip to content

Commit 9c641dd

Browse files
committed
sparc: xf86sbusBus: add missing includes for DebugF and screen hooks
xf86sbusBus.c uses DebugF (from os/log_priv.h) and dixScreenUnhook/dixScreenHookClose (from dix/screen_hooks_priv.h) without including the respective headers. This caused -Werror=implicit-function-declaration and -Werror=nested-externs on SPARC builds (where xf86sbusBus.c is compiled). Add the missing includes.
1 parent 5c9f561 commit 9c641dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

hw/xfree86/common/xf86sbusBus.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
#include "xf86Bus.h"
3737
#include "xf86sbusBus_priv.h"
3838
#include "xf86Sbus_priv.h"
39+
#include "os/log_priv.h"
40+
#include "dix/screen_hooks_priv.h"
3941

4042
static int xf86nSbusInfo;
4143

0 commit comments

Comments
 (0)