mt-st: Add missing header

New version of musl no longer includes this header internally.

Removed several unnecessary variables in Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-08-02 16:41:18 -07:00
parent 15884f28a1
commit 4cda68c72b
2 changed files with 13 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
--- a/mt.c
+++ b/mt.c
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <sys/utsname.h>
#include "mtio.h"