blob: a2879f0b957f6a0bfeb33a3cee5907d3f79c71b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Musl does not have sys/perm.h. Luckily, sys/io.h has the required
definitions both for musl and glibc.
diff -ruN xosview-1.23.orig/linux/serialmeter.cc xosview-1.23/linux/serialmeter.cc
--- xosview-1.23.orig/linux/serialmeter.cc 2020-07-11 14:10:34.000000000 +0200
+++ xosview-1.23/linux/serialmeter.cc 2023-05-05 22:13:19.863489393 +0200
@@ -25,7 +25,6 @@
*/
#if defined(__i386__) || defined(__ia64__) || defined(__amd64__)
#include <sys/io.h>
-#include <sys/perm.h>
#define HAVE_IOPERM
#endif
|