Ticket #61314: patch-ifaddr-net_if.diff

File patch-ifaddr-net_if.diff, 350 bytes (added by iefdev (Eric F), 4 years ago)
  • services/listen_dnsport.c

    old new  
    7171#include <systemd/sd-daemon.h>
    7272#endif
    7373
     74#if __APPLE__
     75  #define HAVE_IFADDRS_H _IFADDRS_H_
     76  #define HAVE_NET_IF_H _NET_IF_H_
     77#endif
     78
    7479#ifdef HAVE_IFADDRS_H
    7580#include <ifaddrs.h>
    7681#endif