OSDN Git Service

Fix headers inclusion in xf86drmMode.c
[android-x86/external-libdrm.git] / xf86drmMode.c
index f4b8d14..529429e 100644 (file)
@@ -46,6 +46,9 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
+#ifdef HAVE_SYS_SYSCTL_H
+#include <sys/sysctl.h>
+#endif
 #include <stdio.h>
 #include <stdbool.h>