From 40317361f4d5ae37b459bfc2c347f113ceb5179c Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 19 Mar 2024 16:20:00 +0100 Subject: [PATCH] xfree86: os-support: bsd: fix missing include of xf86_OSproc.h Missing include of xf86_OSproc.h leads to missing prototype warnings. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- hw/xfree86/os-support/bsd/bsd_VTsw.c | 2 ++ hw/xfree86/os-support/bsd/bsd_init.c | 1 + 2 files changed, 3 insertions(+) diff --git a/hw/xfree86/os-support/bsd/bsd_VTsw.c b/hw/xfree86/os-support/bsd/bsd_VTsw.c index ed06d944a..c47f8b1ca 100644 --- a/hw/xfree86/os-support/bsd/bsd_VTsw.c +++ b/hw/xfree86/os-support/bsd/bsd_VTsw.c @@ -28,10 +28,12 @@ #endif #include + #include "xf86.h" #include "xf86Priv.h" #include "xf86_os_support.h" #include "xf86_OSlib.h" +#include "xf86_OSproc.h" /* * Handle the VT-switching interface for OSs that use USL-style ioctl()s diff --git a/hw/xfree86/os-support/bsd/bsd_init.c b/hw/xfree86/os-support/bsd/bsd_init.c index 6efbbca83..9933a3c60 100644 --- a/hw/xfree86/os-support/bsd/bsd_init.c +++ b/hw/xfree86/os-support/bsd/bsd_init.c @@ -36,6 +36,7 @@ #include "xf86Priv.h" #include "xf86_os_support.h" #include "xf86_OSlib.h" +#include "xf86_OSproc.h" #include #include