Files
operating-system/buildroot/package/perl-sys-cpu/0001-remove-extraneous-include.patch
Pascal Vizeli 4411307353 Buildroot 2018-11 (#258)
* Update to buildroot 2018.11

* containerd update

* runc update

* runc docker engine

* runc docker proxy

* update rpi firmware

* update network manager

* update dhcpd

* update wait on network

* update rpi wifi

* revert glibc
2018-11-26 11:04:01 +01:00

21 lines
603 B
Diff

Drop <sys/unistd.h> include
<sys/unistd.h> does not exist in musl or uClibc, so including it
causes a build failure. In glibc, it simply redirects to <unistd.h>,
so we can safely drop the inclusion of <sys/unistd.h>
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Index: b/CPU.xs
===================================================================
--- 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>