diff --git a/srcpkgs/libieee1284/patches/musl.patch b/srcpkgs/libieee1284/patches/musl.patch index 1cde8040cc..a3b79df1c0 100644 --- a/srcpkgs/libieee1284/patches/musl.patch +++ b/srcpkgs/libieee1284/patches/musl.patch @@ -18,3 +18,19 @@ #include "io.h" +--- include/config.h.in ++++ include/config.h.in +@@ -39,9 +39,13 @@ + /* Define to 1 if you have the header file. */ + #undef HAVE_STRING_H + ++#if defined(__x86_64__) || defined(__i386__) ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYS_IO_H + ++#endif ++ + /* Define to 1 if you have the header file. */ + #undef HAVE_SYS_STAT_H +