https://github.com/Perl/perl5/issues/21042 --- BSD-Resource-1.2911/Resource.xs.orig +++ BSD-Resource-1.2911/Resource.xs @@ -11,6 +11,7 @@ #endif #define PERL_NO_GET_CONTEXT #include "EXTERN.h" +#define HAS_SYSCALL_PROTO #include "perl.h" #include "XSUB.h" #include "ppport.h"