From 03380a49286e267c974b583b1d2e5dc8e3a507d4 Mon Sep 17 00:00:00 2001 From: Philip Withnall <withnall@endlessm.com> Date: Mon, 20 Jan 2020 15:22:03 +0000 Subject: [PATCH] tests: Fix header inclusion in win32-appinfo.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the following build failure on FreeBSD: ``` In file included from ../gio/tests/win32-appinfo.c:24: /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>" #error "<malloc.h> has been replaced by <stdlib.h>" ``` Hopefully it doesn’t break Windows. Signed-off-by: Philip Withnall <withnall@endlessm.com> --- gio/tests/win32-appinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/win32-appinfo.c b/gio/tests/win32-appinfo.c index 2036917dc..78052c348 100644 --- a/gio/tests/win32-appinfo.c +++ b/gio/tests/win32-appinfo.c @@ -21,7 +21,7 @@ #include <glib/glib.h> #include <gio/gio.h> -#include <malloc.h> +#include <stdlib.h> #include "../giowin32-private.c"