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
committerMarge Bot <emma+marge@anholt.net>2024-03-18 22:58:32 +0000
commitf6a367102cbb4ab8b8d56b1943a06cc07462cd81 (patch)
tree4c6ecc18081b8d86ae32e6bbb39dc7a9f905381b /hw/xfree86/os-support/linux/lnx_init.c
parent54a2dfc229ed076ed733ac161ec0afbb22931448 (diff)
Fix missing includes 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/1416>
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>