From acf2f4725df2a7df7f47fdb94826ab0231d71f4a Mon Sep 17 00:00:00 2001 From: rofl0r Date: Sat, 5 Sep 2020 14:36:05 +0100 Subject: [PATCH] fix build on FreeBSD due to usage of Dl_info --- src/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index d801b2c..ac10f89 100644 --- a/src/main.c +++ b/src/main.c @@ -7,10 +7,7 @@ * * ***************************************************************************/ -#undef _POSIX_C_SOURCE -#define _POSIX_C_SOURCE 200112L -#undef _XOPEN_SOURCE -#define _XOPEN_SOURCE 600 +#define _DEFAULT_SOURCE #include #include #include