termux-packages/root-packages/hwinfo/src-hd-bios.c.patch

14 lines
432 B
Diff
Raw Normal View History

2019-06-25 22:14:55 +02:00
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"