mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
6980c43606
%ci:no-build
14 lines
439 B
Diff
14 lines
439 B
Diff
diff -uNr hwinfo-21.60/src/hd/sys.c hwinfo-21.60.mod/src/hd/sys.c
|
|
--- hwinfo-21.60/src/hd/sys.c 2018-10-17 16:23:47.000000000 +0300
|
|
+++ hwinfo-21.60.mod/src/hd/sys.c 2019-06-26 13:35:17.695345306 +0300
|
|
@@ -9,7 +9,8 @@
|
|
#include <sys/types.h>
|
|
#include <sys/wait.h>
|
|
#if defined(__i386__) || defined (__x86_64__)
|
|
-#include <sys/io.h>
|
|
+#include <sys/syscall.h>
|
|
+#define iopl(level) ((int)syscall(SYS_iopl, level))
|
|
#endif
|
|
|
|
#include "hd.h"
|