diff options
Diffstat (limited to 'avahi-core')
-rw-r--r-- | avahi-core/Makefile.am | 5 | ||||
-rw-r--r-- | avahi-core/iface.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/avahi-core/Makefile.am b/avahi-core/Makefile.am index 1a78368..95505b8 100644 --- a/avahi-core/Makefile.am +++ b/avahi-core/Makefile.am @@ -80,6 +80,11 @@ if HAVE_NETLINK libavahi_core_la_SOURCES += \ iface-linux.c iface-linux.h \ netlink.c netlink.h +else +if HAVE_PF_ROUTE +libavahi_core_la_SOURCES += \ + iface-pfroute.c iface-pfroute.h +endif endif libavahi_core_la_CFLAGS = $(AM_CFLAGS) diff --git a/avahi-core/iface.h b/avahi-core/iface.h index 76b3540..14d0195 100644 --- a/avahi-core/iface.h +++ b/avahi-core/iface.h @@ -42,6 +42,8 @@ typedef struct AvahiHwInterface AvahiHwInterface; #ifdef HAVE_NETLINK #include "iface-linux.h" +#elif defined(HAVE_PF_ROUTE) +#include "iface-pfroute.h" #else #error "No network configuration notification system available" #endif |