Ticket #36962: fluid_coremidi.c.diff

File fluid_coremidi.c.diff, 467 bytes (added by ccarey@…, 12 years ago)

patch to src/drivers/fluid_coremidi.c to more closely match <netinet/tcp.h>

  • src/drivers/fluid_coremidi.c

    old new  
    3939#ifdef TCP_NODELAY
    4040#undef TCP_NODELAY
    4141#endif
    42 #ifdef TCP_MAXSEG
    43 #undef TCP_MAXSEG
    44 #endif
    45 #ifdef TCP_KEEPALIVE
    46 #undef TCP_KEEPALIVE
     42#ifndef _POSIX_C_SOURCE
     43# ifdef TCP_MAXSEG
     44# undef TCP_MAXSEG
     45# endif
     46# ifdef TCP_KEEPALIVE
     47# undef TCP_KEEPALIVE
     48# endif
    4749#endif
    4850
    4951/* End work around */