os: 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>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-18 15:11:08 +01:00
parent d66acae501
commit dfa606d5a4

View File

@ -34,6 +34,7 @@
#include <netdb.h> #include <netdb.h>
#endif #endif
#include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <X11/X.h> #include <X11/X.h>