From: Ben Greear <greearb@candelatech.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] Fix build on Fedora 13.
Date: Tue, 07 Jun 2011 11:24:42 -0700 [thread overview]
Message-ID: <4DEE6CEA.8000909@candelatech.com> (raw)
In-Reply-To: <E9E39B04-8045-44EF-970B-A1F1779C5A69@oracle.com>
On 06/07/2011 11:14 AM, Chuck Lever wrote:
> Hi Ben-
>
> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>
>> From: Ben Greear<greearb@candelatech.com>
>>
>> Need sys/stat.h for S_ISDIR and S_ISREG symbols.
>
> Can you tell when this problem was introduced? What ./configure options might be relevant?
I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi,
I'm compiling with:
./configure --disable-gss
Thanks,
Ben
>
>> Signed-off-by: Ben Greear<greearb@candelatech.com>
>> ---
>> :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<config.h>
>> #endif
>>
>> +#ifdef HAVE_SYS_STAT_H
>> +#include<sys/stat.h>
>> +#endif
>> +
>> #include<unistd.h>
>> #include<stdlib.h>
>> #include<string.h>
>> 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<unistd.h>
>> +#ifdef HAVE_SYS_STAT_H
>> +#include<sys/stat.h>
>> +#endif
>> #include<sys/types.h>
>> #include<stdio.h>
>> #include<string.h>
>> --
>> 1.7.3.4
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2011-06-07 18:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-07 17:58 [PATCH] Fix build on Fedora 13 greearb
2011-06-07 18:14 ` Chuck Lever
2011-06-07 18:24 ` Ben Greear [this message]
2011-06-07 21:47 ` Ben Greear
2011-06-08 3:12 ` Steve Dickson
2011-06-08 4:00 ` Ben Greear
2011-06-08 11:08 ` Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DEE6CEA.8000909@candelatech.com \
--to=greearb@candelatech.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.