nak: do not hide drm header on Android

libdrm exists on Android and drm header is needed as well. The proper
way for cross-compile now is to use "-Dallow-fallback-for=libdrm" so
that the subproject can be fetched accordingly.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36386>
This commit is contained in:
Yiwei Zhang
2025-07-18 21:07:17 +00:00
committed by Marge Bot
parent 1e0c3529e7
commit 0d5a2f92ca
-2
View File
@@ -9,9 +9,7 @@
#include "nouveau_context.h"
#include "nouveau_device.h"
#if !defined(ANDROID_STRICT)
#include <xf86drm.h>
#endif
#include "drm-uapi/nouveau_drm.h"
#define DRM_RS_IOCTL(FOO) \