use sys/sysmacros.h for makedev

This commit is contained in:
Vincent Wei
2019-04-11 17:36:02 +08:00
parent 9475ff227f
commit 79267be62c
+1
View File
@@ -37,6 +37,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/sysmacros.h> // for makedev
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>