aboutsummaryrefslogtreecommitdiff
blob: 43f1ba51384088c9f2fe84332c173a914bd7068c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/libs/porttalk/porttalk.cpp	2020-03-01 10:25:52.000000000 +0800
+++ b/src/libs/porttalk/porttalk.cpp	2020-03-01 21:06:30.937404111 +0800
@@ -239,7 +239,7 @@
 #ifdef LINUX
 # if defined(__i386__) || defined(__amd64__) || defined(__x86_64__)
 // This Linux ioperm only works up to port 0x3FF
-#include <sys/perm.h>
+#include <sys/io.h>
 // For musl-libc based toolchain, use <sys/io.h> instead of <sys/perm.h>
 //#include <sys/io.h>