-
-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix header when compile with LIEF_EXTERNAL_SPDLOG=ON (#1080)
* Fix header when compile with LIEF_EXTERNAL_SPDLOG The header <algorithm> can be missing and std::remove_if may not be found in DynamicEntryArray.cpp and DynamicEntryRunPath.cpp. This is the case when compiled with LIEF_EXTERNAL_SPDLOG=ON and fetch spdlog using FetchContent with the option OVERRIDE_FIND_PACKAGE. --------- Co-authored-by: Romain Thomas <me@romainthomas.fr> Co-authored-by: Romain Thomas <7450402+romainthomas@users.noreply.github.com>
- Loading branch information
1 parent
9673580
commit f954c50
Showing
3 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
|
||
#include "logging.hpp" | ||
|
||
#include <algorithm> | ||
|
||
namespace LIEF { | ||
namespace ELF { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters