Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-09-05 16:36:05 +0300
committerrofl0r <rofl0r@users.noreply.github.com>2020-09-05 16:36:05 +0300
commitacf2f4725df2a7df7f47fdb94826ab0231d71f4a (patch)
treeaf16b58a970fd164b3fcb2d8711437efe9e7934c
parent0ee5db605b3c9884ff24a2ddcc346f24b76591c5 (diff)
fix build on FreeBSD due to usage of Dl_info
-rw-r--r--src/main.c5
1 files changed, 1 insertions, 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 <stdio.h>
#include <unistd.h>
#include <stdlib.h>