Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addr2line: DragonFlyBSD build update. #4309

Merged
merged 1 commit into from
Aug 31, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions addr2line.c
Original file line number Diff line number Diff line change
Expand Up @@ -2168,7 +2168,7 @@ fill_lines(int num_traces, void **traces, int check_debuglink,
#endif

#define HAVE_MAIN_EXE_PATH
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/sysctl.h>
#endif
/* ssize_t main_exe_path(void)
Expand All @@ -2191,7 +2191,7 @@ main_exe_path(void)
binary_filename[len] = 0;
return len;
}
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__) || defined(__DragonFly__)
static ssize_t
main_exe_path(void)
{
Expand Down