From b0f8a2c20b10cf3dd835d7565c2bbf7a0d243938 Mon Sep 17 00:00:00 2001 From: cuma Date: Fri, 6 Oct 2023 13:35:45 +0200 Subject: [PATCH] Dl_info is undeclared with uclibc-ng without __USE_GNU - like https://github.com/rofl0r/proxychains-ng/issues/338 - refs https://github.com/wbx-github/uclibc-ng/blob/v1.0.44/include/dlfcn.h#L90 - used https://github.com/Freetz-NG/freetz-ng/commit/3336514d8c5a49dd346432b68c0611be2ff37ea1 --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index af78ef2..ed29215 100644 --- a/src/main.c +++ b/src/main.c @@ -19,6 +19,9 @@ #ifdef IS_MAC #define _DARWIN_C_SOURCE #endif +#ifdef __UCLIBC__ +#define __USE_GNU +#endif #include #include "common.h"