mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 08:09:51 +00:00
5d8d4fbbcb
The crude loop I wrote to come up with this changeset: find -L package/feeds/packages/ -name patches | \ sed 's/patches$/refresh/' | sort | xargs make Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
12 lines
449 B
Diff
12 lines
449 B
Diff
--- a/server/drivers/port.h
|
|
+++ b/server/drivers/port.h
|
|
@@ -94,7 +94,7 @@ static inline int port_deny_multiple(uns
|
|
/* ---------------------------- Linux ------------------------------------ */
|
|
/* Use ioperm, inb and outb in <sys/io.h> (Linux) */
|
|
/* And iopl for higher addresses of PCI LPT cards */
|
|
-#if defined HAVE_IOPERM
|
|
+#if defined(__GLIBC__) || (defined(__x86__) || defined(__x86_64__))
|
|
|
|
/* Glibc2 and Glibc1 */
|
|
# ifdef HAVE_SYS_IO_H
|