From patchwork Tue Jun 7 17:58:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 858872 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p57Hx7Ss002135 for ; Tue, 7 Jun 2011 17:59:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754423Ab1FGR7E (ORCPT ); Tue, 7 Jun 2011 13:59:04 -0400 Received: from mail.candelatech.com ([208.74.158.172]:45403 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753739Ab1FGR7D (ORCPT ); Tue, 7 Jun 2011 13:59:03 -0400 Received: from fs3.candelatech.com (firewall.candelatech.com [70.89.124.249]) by ns3.lanforge.com (8.14.2/8.14.2) with ESMTP id p57Hww4H018795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jun 2011 10:58:58 -0700 From: greearb@candelatech.com To: linux-nfs@vger.kernel.org Cc: Ben Greear Subject: [PATCH] Fix build on Fedora 13. Date: Tue, 7 Jun 2011 10:58:51 -0700 Message-Id: <1307469531-20595-1-git-send-email-greearb@candelatech.com> X-Mailer: git-send-email 1.7.3.4 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 07 Jun 2011 17:59:07 +0000 (UTC) From: Ben Greear Need sys/stat.h for S_ISDIR and S_ISREG symbols. Signed-off-by: Ben Greear --- :100644 100644 99618c9... e057c5c... M utils/exportfs/exportfs.c :100644 100644 2aa3d4f... a8ce028... M utils/mount/mount.c utils/exportfs/exportfs.c | 4 ++++ utils/mount/mount.c | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c index 99618c9..e057c5c 100644 --- a/utils/exportfs/exportfs.c +++ b/utils/exportfs/exportfs.c @@ -12,6 +12,10 @@ #include #endif +#ifdef HAVE_SYS_STAT_H +#include +#endif + #include #include #include diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 2aa3d4f..a8ce028 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -20,6 +20,9 @@ #include "config.h" #include +#ifdef HAVE_SYS_STAT_H +#include +#endif #include #include #include