commit | 1c688801e9dd7f9889fb2a29bc2b6fbfbc35a11f | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@dtucker.net> | Wed Jul 11 12:12:38 2018 +1000 |
committer | Darren Tucker <dtucker@dtucker.net> | Wed Jul 11 12:14:09 2018 +1000 |
tree | 76c5f52cd54a2b009c4c368519cbc39d47ecbad8 | |
parent | fccfa239def497615f92ed28acc57cfe63da3666 [diff] |
Include stdlib.h for declaration of free. Fixes build with -Werror on at least Fedora and probably others.
diff --git a/openbsd-compat/freezero.c b/openbsd-compat/freezero.c index 90b9d38..bad018f 100644 --- a/openbsd-compat/freezero.c +++ b/openbsd-compat/freezero.c
@@ -16,6 +16,7 @@ #include "includes.h" +#include <stdlib.h> #include <string.h> #ifndef HAVE_FREEZERO