Skip to content

Commit

Permalink
fix: add dlfcn include in symbols source file
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier authored Aug 1, 2024
1 parent 977980c commit 9f9cb74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/symbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ std::vector<std::string> get_symbols(HMODULE handle, bool demangle, bool loadabl
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/fat.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <unistd.h>

Expand Down Expand Up @@ -204,6 +205,7 @@ std::vector<std::string> get_symbols(void *handle, int fd, bool demangle, bool l

#include <libelf.h>
#include <gelf.h>
#include <dlfcn.h>
#include <fcntl.h>
#include <unistd.h>

Expand Down

0 comments on commit 9f9cb74

Please sign in to comment.