--- xf86drmMode.c.orig 2020-06-04 08:33:44 UTC
+++ xf86drmMode.c
@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#if HAVE_SYS_SYSCTL_H
+#include <sys/types.h>
#include <sys/sysctl.h>
#endif
#include <stdio.h>