Hello,

Svante Signell, le lun. 14 sept. 2020 17:44:24 +0200, a ecrit:
> +#elif defined(__GNU__)
> +#include <mach/port.h>
> +#include <hurd/ioctl.h>
> +#define DRM_IOCTL_NR(n)         ((n) & 0xff)

Rather use _IOC_COMMAND, that'll fix it into taking 7 bits only, not 8.

Samuel

Reply via email to