* asm/fcntl.h problem on libc5 with -ansi
@ 2001-11-24 1:06 Kurt Roeckx
0 siblings, 0 replies; only message in thread
From: Kurt Roeckx @ 2001-11-24 1:06 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-24 1:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-24 1:06 asm/fcntl.h problem on libc5 with -ansi Kurt Roeckx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox