summaryrefslogtreecommitdiff
path: root/dev-perl/Sys-CPU/files/Sys-CPU-0.610.0-musl-unistd-h.patch
blob: 346677fe9fef9fe68d0ae5aa4f662ab1a39df1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
This header doesn't exist on musl and it's unnecessary anyway.
--- a/CPU.xs
+++ b/CPU.xs
@@ -24,7 +24,6 @@
  #include <winreg.h>
 #else                /* other (try unix) */
  #include <unistd.h>
- #include <sys/unistd.h>
 #endif
 #if defined(__sun) || defined(__sun__)
  #include <sys/processor.h>