0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/root-packages/hwinfo/src-hd-bios.c.patch
2022-04-18 14:31:05 +05:30

14 lines
432 B
Diff

diff -uNr hwinfo-21.60/src/hd/bios.c hwinfo-21.60.mod/src/hd/bios.c
--- hwinfo-21.60/src/hd/bios.c 2018-10-17 16:23:47.000000000 +0300
+++ hwinfo-21.60.mod/src/hd/bios.c 2019-06-26 13:34:45.081793132 +0300
@@ -6,9 +6,6 @@
#include <byteswap.h>
#include <sys/types.h>
#include <sys/stat.h>
-#if defined(__i386__) || defined (__x86_64__) || defined(__ia64__)
-#include <sys/io.h>
-#endif
#include <linux/pci.h>
#include "hd.h"