[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1345328261-3004-1-git-send-email-vapier@gentoo.org>
Date: Sat, 18 Aug 2012 18:17:41 -0400
From: Mike Frysinger <vapier@...too.org>
To: linux-ext4@...r.kernel.org
Subject: [PATCH] respect HAVE_MALLOC_H
Most places respect this define, but this one doesn't.
Reported-by: Dmitri Bogomolov <4glitch@...il.com>
Signed-off-by: Mike Frysinger <vapier@...too.org>
---
util/symlinks.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/util/symlinks.c b/util/symlinks.c
index f3a632a..abb33f8 100644
--- a/util/symlinks.c
+++ b/util/symlinks.c
@@ -8,7 +8,9 @@
#endif
#include <stdio.h>
#include <stdlib.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#include <string.h>
#include <fcntl.h>
#include <sys/param.h>
--
1.7.9.7
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists