summaryrefslogtreecommitdiff
path: root/xf86drmMode.c
diff options
context:
space:
mode:
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index f4b8d146..529429e8 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -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>