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"