lkml.org 
[lkml]   [2001]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectasm/fcntl.h problem on libc5 with -ansi
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.032 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site