Max OS-X and FreeBSD multicast portability

This commit is contained in:
Willem Toorop 2017-03-22 12:33:13 +01:00
parent 29c1c9524e
commit b48a92c8f5
1 changed files with 5 additions and 0 deletions

View File

@ -48,6 +48,11 @@ typedef u_short sa_family_t;
#define TRUE 1 #define TRUE 1
#endif #endif
/* Define IPV6_ADD_MEMBERSHIP for FreeBSD and Mac OS X */
#ifndef IPV6_ADD_MEMBERSHIP
#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
#endif
uint64_t _getdns_get_time_as_uintt64(); uint64_t _getdns_get_time_as_uintt64();
#include "util/fptr_wlist.h" #include "util/fptr_wlist.h"