mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-06 09:30:37 +02:00
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>
(cherry picked from commit d91098ef48)
This commit is contained in:
parent
94f2affef2
commit
f99ec42efc
2 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,8 @@
|
|||
#include <xorg-config.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Config.h"
|
||||
#include "xf86_OSlib.h"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue