changeset 2894:3e7f61da742c draft

Fix build without INET
author Roy Marples <roy@marples.name>
date Thu, 18 Dec 2014 11:47:09 +0000
parents 64b287904152
children 45097b201e22
files arp.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/arp.h	Thu Dec 18 10:09:54 2014 +0000
+++ b/arp.h	Thu Dec 18 11:47:09 2014 +0000
@@ -65,6 +65,7 @@
 };
 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_free(struct arp_state *);
 void arp_free_but(struct arp_state *);
 void arp_close(struct interface *);
+#else
+#define arp_close(a)
 #endif
+#endif