Differential D19354 Diff 54367 lang/rust/files/patch-vendor_backtrace-sys_src_libbacktrace_fileline.c
Changeset View
Changeset View
Standalone View
Standalone View
lang/rust/files/patch-vendor_backtrace-sys_src_libbacktrace_fileline.c
- This file was moved from lang/rust/files/patch-src_libbacktrace_fileline.c.
This file is in the public domain. | This file is in the public domain. | ||||
--- src/libbacktrace/fileline.c.orig 2019-01-16 09:30:44 UTC | --- vendor/backtrace-sys/src/libbacktrace/fileline.c.orig 2019-01-16 09:30:44 UTC | ||||
+++ src/libbacktrace/fileline.c | +++ vendor/backtrace-sys/src/libbacktrace/fileline.c | ||||
@@ -39,8 +39,39 @@ POSSIBILITY OF SUCH DAMAGE. */ | @@ -39,8 +39,39 @@ POSSIBILITY OF SUCH DAMAGE. */ | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) | +#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) | ||||
+#include <sys/sysctl.h> | +#include <sys/sysctl.h> | ||||
+#include <limits.h> | +#include <limits.h> | ||||
+#endif | +#endif | ||||
Show All 32 Lines |