diff options
author | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-05 16:36:05 +0300 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2020-09-05 16:36:05 +0300 |
commit | acf2f4725df2a7df7f47fdb94826ab0231d71f4a (patch) | |
tree | af16b58a970fd164b3fcb2d8711437efe9e7934c | |
parent | 0ee5db605b3c9884ff24a2ddcc346f24b76591c5 (diff) |
fix build on FreeBSD due to usage of Dl_info
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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> |