summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-07-11 12:12:38 +1000
committerDarren Tucker <dtucker@dtucker.net>2018-07-11 12:14:09 +1000
commit1c688801e9dd7f9889fb2a29bc2b6fbfbc35a11f (patch)
tree76c5f52cd54a2b009c4c368519cbc39d47ecbad8
parentfccfa239def497615f92ed28acc57cfe63da3666 (diff)
Include stdlib.h for declaration of free.
Fixes build with -Werror on at least Fedora and probably others.
-rw-r--r--openbsd-compat/freezero.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/freezero.c b/openbsd-compat/freezero.c
index 90b9d3813..bad018ff0 100644
--- a/openbsd-compat/freezero.c
+++ b/openbsd-compat/freezero.c
@@ -16,6 +16,7 @@
16 16
17#include "includes.h" 17#include "includes.h"
18 18
19#include <stdlib.h>
19#include <string.h> 20#include <string.h>
20 21
21#ifndef HAVE_FREEZERO 22#ifndef HAVE_FREEZERO