diff --git a/deps/.package b/deps/.package index 149cfb4..42fe058 100644 --- a/deps/.package +++ b/deps/.package @@ -1,2 +1,4 @@ -import github.com/tidwall/sco v0.1.0 -import github.com/tidwall/stack v0.1.0 +import github.com/tidwall/sco v0.1.1 + +sum ad1e36373245380b0f5588c11f1a69369171436a sco.c +sum 92baa4119d14dbb2b1effcd2eaeb4adcba8befc1 sco.h diff --git a/deps/sco.c b/deps/sco.c index d4e3636..c50ffc5 100644 --- a/deps/sco.c +++ b/deps/sco.c @@ -1182,7 +1182,8 @@ struct llco_dlinfo { void *dli_saddr; /* Address of nearest symbol */ }; -#ifdef __linux__ + +#if defined(__linux__) && !defined(_GNU_SOURCE) int dladdr(const void *, void *); #endif diff --git a/neco.c b/neco.c index 9f3972d..2779446 100644 --- a/neco.c +++ b/neco.c @@ -1328,7 +1328,8 @@ struct llco_dlinfo { void *dli_saddr; /* Address of nearest symbol */ }; -#ifdef __linux__ + +#if defined(__linux__) && !defined(_GNU_SOURCE) int dladdr(const void *, void *); #endif