free() require cstdlib to be included

This commit is contained in:
Thomas Zander 2017-01-28 16:07:37 +01:00 committed by Max Kellermann
parent a931686317
commit 51147203be
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -1,5 +1,6 @@
ver 0.20.4 (not yet released) ver 0.20.4 (not yet released)
* workaround for GCC 4.9 "constexpr" bug * workaround for GCC 4.9 "constexpr" bug
* fix FreeBSD build failure
ver 0.20.3 (2017/01/25) ver 0.20.3 (2017/01/25)
* protocol * protocol

View File

@ -36,6 +36,7 @@
#include <type_traits> #include <type_traits>
#include <utility> #include <utility>
#include <new> #include <new>
#include <cstdlib>
/** /**
* Allocate and construct a variable-size object. That is useful for * Allocate and construct a variable-size object. That is useful for