lkml.org 
[lkml]   [1997]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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.

    -a

    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.017 / U:187.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site