$OpenBSD: patch-src_input_http_helper_c,v 1.1 2019/12/25 15:50:45 ajacoutot Exp $

network: fix BSD.

Index: src/input/http_helper.c
--- src/input/http_helper.c.orig
+++ src/input/http_helper.c
@@ -24,7 +24,9 @@
 #include "config.h"
 #endif
 
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 #include <string.h>
 #include <stdint.h>
 
