Ticket #37957: voms-ipv6sock-posix.patch

File voms-ipv6sock-posix.patch, 531 bytes (added by dennisvd@…, 12 years ago)

fix for missing symbols under Mac OS X 10.5

  • src/socklib/ipv6sock.cc

    old new  
    2323 *
    2424 *********************************************************************/
    2525
     26#include "config.h"
     27
     28#ifndef _POSIX_SOURCE
     29#  define _POSIX_SOURCE 1
     30#endif
     31
    2632#include <sys/types.h>
    2733#include <netdb.h>
    2834#include <sys/socket.h>
     
    3036#include <stdlib.h>
    3137#include <string.h>
    3238
     39#include <strings.h>
     40
    3341extern "C" {
    3442#include "log.h"
    3543}