mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 18:30:34 +01:00
xfree86: modesettig: 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 cd84b3eaf3)
This commit is contained in:
parent
d80997efdb
commit
a25c64ae3c
4 changed files with 8 additions and 0 deletions
|
|
@ -36,7 +36,9 @@
|
|||
#include "dix-config.h"
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "list.h"
|
||||
#include "xf86.h"
|
||||
#include "driver.h"
|
||||
|
|
|
|||
|
|
@ -36,8 +36,10 @@
|
|||
#include "dix-config.h"
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xf86_OSproc.h"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@
|
|||
#include "dix-config.h"
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include <xserver_poll.h>
|
||||
#include <xf86drm.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,9 @@
|
|||
#include "dix-config.h"
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <xf86.h>
|
||||
#include <xf86Crtc.h>
|
||||
#include "driver.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue