summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/lnx_init.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-03-18 15:11:08 +0100
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-03-21 17:32:30 +0100
commit9fc6e0d3040ed42ca2b92b30e2a023c3dd9383bd (patch)
tree5cf708d8c8e0571109e316efa2eb78060cd55e50 /hw/xfree86/os-support/linux/lnx_init.c
parentd91098ef48e49dc5fd2be3ca33a26ff389b9f2d9 (diff)
xfree86: os-support: fix missing include of <errno.h>
It's much cleaner to always include directly what one needs, instead of relying on very indirect including. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1435>
Diffstat (limited to 'hw/xfree86/os-support/linux/lnx_init.c')
-rw-r--r--hw/xfree86/os-support/linux/lnx_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c
index 4ea791a89..b3270c5b3 100644
--- a/hw/xfree86/os-support/linux/lnx_init.c
+++ b/hw/xfree86/os-support/linux/lnx_init.c
@@ -27,6 +27,7 @@
#include <xorg-config.h>
#endif
+#include <errno.h>
#include <X11/X.h>
#include <X11/Xmd.h>