summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarekm72 <35698605+marekm72@users.noreply.github.com>2026-02-22 21:42:10 +0100
committerGitHub <noreply@github.com>2026-02-22 21:42:10 +0100
commit3f46d73994f007dbf3e85fd1a2ae22aba8ce459e (patch)
tree9d6058f2dfd74df1680efb6186d1e5d0962c00b1
parentb52d38df680450b413869edeeaa3baaba73e2918 (diff)
downloadaccel-ppp-3f46d73994f007dbf3e85fd1a2ae22aba8ce459e.tar.gz
accel-ppp-3f46d73994f007dbf3e85fd1a2ae22aba8ce459e.zip
Refactor ARP header includes in arp.c
Replaced conditional inclusion of if_arp.h and if_packet.h with direct includes.
-rw-r--r--accel-pppd/ctrl/ipoe/arp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/accel-pppd/ctrl/ipoe/arp.c b/accel-pppd/ctrl/ipoe/arp.c
index ef9d3859..a6ca5b13 100644
--- a/accel-pppd/ctrl/ipoe/arp.c
+++ b/accel-pppd/ctrl/ipoe/arp.c
@@ -13,10 +13,8 @@
#include <netinet/ip.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#ifdef HAVE_GOOD_IFARP
-#include <linux/if_arp.h>
-#endif
-#include <linux/if_packet.h>
+#include <net/if_arp.h>
+#include <netpacket/packet.h>
#include "list.h"
#include "triton.h"