diff options
author | tenzap <[email protected]> | 2021-11-22 08:20:47 +0100 |
---|---|---|
committer | tenzap <[email protected]> | 2021-11-23 12:58:49 +0100 |
commit | 0d7f9aa2784fba802250f285e3dc92b97ef1a37b (patch) | |
tree | 2871d0fb93c499082733a6d9cf2c33943dcd6bc6 /src/lib/compat | |
parent | 7140a88c6db7e3ca10acbc11368017220dd63b00 (diff) |
add missing header: cstdlib
for compilation on older systems (like macos 10.11)
Needed for std::free() & std::calloc() on older systems [1]
That file is included indirectly on newer systems.
[1] https://en.cppreference.com/w/cpp/memory/c/free
Diffstat (limited to 'src/lib/compat')
-rw-r--r-- | src/lib/compat/sodium/sodium_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/compat/sodium/sodium_utils.cpp b/src/lib/compat/sodium/sodium_utils.cpp index 56fe98696..45b157c38 100644 --- a/src/lib/compat/sodium/sodium_utils.cpp +++ b/src/lib/compat/sodium/sodium_utils.cpp @@ -11,6 +11,7 @@ #include <botan/internal/os_utils.h> #include <botan/internal/ct_utils.h> #include <botan/internal/loadstor.h> +#include <cstdlib> namespace Botan { |