From: Roy Marples Date: Sat, 28 Mar 2020 16:05:28 +0000 (+0000) Subject: Fix compile on Linux X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f13d5993e40d391943af981c0115603f2c56e65;p=thirdparty%2Fdhcpcd.git Fix compile on Linux --- diff --git a/src/script.c b/src/script.c index 04620ce1..bb17d12c 100644 --- a/src/script.c +++ b/src/script.c @@ -570,6 +570,10 @@ send_interface(struct fd_list *fd, const struct interface *ifp, int af) const struct dhcp6_state *d6; #endif +#ifndef AF_LINK +#define AF_LINK AF_PACKET +#endif + if (af == AF_UNSPEC || af == AF_LINK) { const char *reason;