ports/devel/rubygem-aws-crt/files/patch-aws-crt-ffi-crt-s2n-utils-s2n_fork_detection.c
Po-Chuan Hsieh 61c876ad8c
devel/rubygem-aws-crt: Add rubygem-aws-crt 0.1.5
AWS Common Runtime for Ruby

The AWS Common Runtime (CRT) libraries are a base library of the SDKs. The CRT
is a modular family of independent packages, written in C. Each package provides
good performance and minimal footprint for different required functionalities.
These functionalities are common and shared across all SDKs providing better
code reuse, optimization, and accuracy.

WWW: https://github.com/awslabs/aws-crt-ruby
2022-07-30 13:56:32 +08:00

13 lines
311 B
C

--- aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.c.orig 2022-07-30 03:57:28 UTC
+++ aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.c
@@ -25,6 +25,10 @@
#define _GNU_SOURCE
#endif
+#if !defined(__BSD_VISIBLE)
+#define __BSD_VISIBLE 1
+#endif
+
#include <sys/mman.h>
/* Not always defined for Darwin */