From: Roy Marples Date: Thu, 18 Dec 2014 11:47:09 +0000 (+0000) Subject: Fix build without INET X-Git-Tag: v6.6.7~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121e7ec9a2ddeecac702243e0850bff35d9d9cde;p=thirdparty%2Fdhcpcd.git Fix build without INET --- diff --git a/arp.h b/arp.h index 9666c47f..41c91ee9 100644 --- a/arp.h +++ b/arp.h @@ -65,6 +65,7 @@ struct arp_state { }; TAILQ_HEAD(arp_statehead, arp_state); +#ifdef INET void arp_report_conflicted(const struct arp_state *, const struct arp_msg *); void arp_announce(struct arp_state *); void arp_probe(struct arp_state *); @@ -73,4 +74,7 @@ void arp_cancel(struct arp_state *); void arp_free(struct arp_state *); void arp_free_but(struct arp_state *); void arp_close(struct interface *); +#else +#define arp_close(a) +#endif #endif