From 993c455552a218f34cc9a16e0b099868d2834ea5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 18 Aug 2012 12:17:41 +0000 Subject: [PATCH] util: respect HAVE_MALLOC_H Most places respect this define, but this one doesn't. Reported-by: Dmitri Bogomolov <4glitch@gmail.com> Signed-off-by: Mike Frysinger Signed-off-by: Theodore Ts'o --- 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 #include +#ifdef HAVE_MALLOC_H #include +#endif #include #include #include -- 1.8.3.1