* [PATCH] respect HAVE_MALLOC_H
@ 2012-08-18 22:17 Mike Frysinger
2012-08-19 21:57 ` Theodore Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2012-08-18 22:17 UTC (permalink / raw)
To: linux-ext4
Most places respect this define, but this one doesn't.
Reported-by: Dmitri Bogomolov <4glitch@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-19 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18 22:17 [PATCH] respect HAVE_MALLOC_H Mike Frysinger
2012-08-19 21:57 ` Theodore Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).