nouveau/ws: remove the drm.h header

It can cause compilation issues on Arch, there is a workaround by
including it as <drm.h> but this solution is simpler.

Signed-off-by: Yusuf Khan <yusisamerican@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Yusuf Khan 2022-07-28 13:37:45 -05:00 committed by Marge Bot
parent 403ac39bbc
commit d76175955f
2 changed files with 2 additions and 4 deletions

View file

@ -1,10 +1,9 @@
#include "nouveau_context.h"
#include <drm/drm.h>
#include <xf86drm.h>
#include <errno.h>
#include <nouveau_drm.h>
#include <nouveau/nvif/ioctl.h>
#include <xf86drm.h>
#include "nouveau_device.h"

View file

@ -1,11 +1,10 @@
#include "nouveau_device.h"
#include <drm/drm.h>
#include <xf86drm.h>
#include <nouveau_drm.h>
#include <nouveau/nvif/ioctl.h>
#include <nvif/cl0080.h>
#include <nvif/class.h>
#include <xf86drm.h>
#include "util/u_debug.h"
#include "util/os_file.h"