<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">commit 540881627fe8083207f9a2cfd01b931164c7ef4e
Author: Tobias Brunner &lt;tobias@strongswan.org&gt;
Date:   Fri Mar 22 10:42:34 2024 +0100

    farp: Fix build with musl C library
    
    Same issue as described in the previous commit.
    
    Fixes: 187c72d1afdc ("dhcp: Port the plugin to FreeBSD/macOS")

--- a/src/libcharon/plugins/farp/farp_spoofer.c
+++ b/src/libcharon/plugins/farp/farp_spoofer.c
@@ -20,12 +20,14 @@
 
 #include &lt;errno.h&gt;
 #include &lt;unistd.h&gt;
+#include &lt;net/ethernet.h&gt;
 #include &lt;sys/ioctl.h&gt;
 
 #if !defined(__APPLE__) &amp;&amp; !defined(__FreeBSD__)
 #include &lt;sys/socket.h&gt;
-#include &lt;linux/if_arp.h&gt;
-#include &lt;linux/if_ether.h&gt;
+#include &lt;net/if_arp.h&gt;
+#include &lt;netinet/if_ether.h&gt;
+#include &lt;netpacket/packet.h&gt;
 #include &lt;linux/filter.h&gt;
 #else
 #include &lt;net/bpf.h&gt;
@@ -33,7 +35,6 @@
 #include &lt;net/if_dl.h&gt;
 #endif /* !defined(__APPLE__) &amp;&amp; !defined(__FreeBSD__) */
 
-#include &lt;net/ethernet.h&gt;
 #include &lt;daemon.h&gt;
 #include &lt;threading/thread.h&gt;
 #include &lt;processing/jobs/callback_job.h&gt;
</pre></body></html>