public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kurt Roeckx <Q@ping.be>
To: linux-kernel@vger.kernel.org
Subject: asm/fcntl.h problem on libc5 with -ansi
Date: Sat, 24 Nov 2001 02:06:06 +0100	[thread overview]
Message-ID: <20011124020606.A9466@ping.be> (raw)

The 2.4.x kernels generate a problem when you try to include
<fcntl.h> on a libc5 system and use gcc -ansi to compile it.

The problem is that loff_t is not defined in linux/types.h when
__STRICT_ANSI__ is defined.  struct flock64 is using an loff_t.

Either you should place struct flock64 under ifndef
__STRICT_ANSI__ too, or loff_t not.  I used the later here.

Maybe there are others places that have the same problem too?


Kurt


                 reply	other threads:[~2001-11-24  1:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20011124020606.A9466@ping.be \
    --to=q@ping.be \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox