xfree86: common: 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 b2fd743288
commit d91098ef48
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@
#include <xorg-config.h>
#endif
#include <errno.h>
#include "xf86.h"
#include "xf86Config.h"
#include "xf86_OSlib.h"

View File

@ -53,9 +53,11 @@
#include <xorg-config.h>
#endif
#include <errno.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/Xatom.h>
#include "misc.h"
#include "xf86.h"
#include "xf86Priv.h"