[lkml]   [1997]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: header protection for __FD_SET et al.
   > posix-types.h doesn't check for previous declarations of __FD_SET et
> al. as glibc has its own representation of fd_set, this results in
> problems. here's a patch against 2.1.42 which adds a little #define
> protection to the relevant files:

No. Glibc should not give a tinker's cuss what's in <asm/posix_types.h>.
The fix is to Not Do That in glibc, which is what I did in current snaps.

actually, i'm running a pretty recent glibc snapshot. the problem
comes from <sys/socket.h>. it eventually includes <asm/posix_types.h>
by way of <asm/socket.h>. i suppose the "#define _LINUX_TYPES_H"
header-prevention trick can be used, but i've always thought of that
as massively hokey.


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