]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix build without INET
authorRoy Marples <roy@marples.name>
Thu, 18 Dec 2014 11:47:09 +0000 (11:47 +0000)
committerRoy Marples <roy@marples.name>
Thu, 18 Dec 2014 11:47:09 +0000 (11:47 +0000)
arp.h

diff --git a/arp.h b/arp.h
index 9666c47f84b1b99ff32356a9c0b95689f99f7392..41c91ee95095fdb6b4d03a2625db055fad54f6b9 100644 (file)
--- 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