diff options
-rw-r--r-- | libkms/linux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms/linux.c b/libkms/linux.c index 4d47148a..b735527c 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -40,6 +40,10 @@ #include <string.h> #include <unistd.h> #include <sys/stat.h> +#include <sys/types.h> +#ifdef HAVE_SYS_MKDEV_H +#include <sys/mkdev.h> +#endif #include "libdrm_macros.h" #include "internal.h" |