From patchwork Sat Aug 18 22:17:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 178497 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 73B8C2C00A6 for ; Sun, 19 Aug 2012 08:17:42 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753901Ab2HRWRk (ORCPT ); Sat, 18 Aug 2012 18:17:40 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:60287 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753490Ab2HRWRk (ORCPT ); Sat, 18 Aug 2012 18:17:40 -0400 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id C3CD11B4004 for ; Sat, 18 Aug 2012 22:17:39 +0000 (UTC) From: Mike Frysinger To: linux-ext4@vger.kernel.org Subject: [PATCH] respect HAVE_MALLOC_H Date: Sat, 18 Aug 2012 18:17:41 -0400 Message-Id: <1345328261-3004-1-git-send-email-vapier@gentoo.org> X-Mailer: git-send-email 1.7.9.7 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Most places respect this define, but this one doesn't. Reported-by: Dmitri Bogomolov <4glitch@gmail.com> Signed-off-by: Mike Frysinger --- 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