diff --git a/src/common/sendpacket.c b/src/common/sendpacket.c index ac9797f0..4c830891 100644 --- a/src/common/sendpacket.c +++ b/src/common/sendpacket.c @@ -133,9 +133,6 @@ #ifdef HAVE_SYS_PARAM_H #include #endif -#ifdef HAVE_SYS_SYSCTL_H -#include -#endif #ifdef HAVE_NET_ROUTE_H #include #endif @@ -579,7 +576,7 @@ sendpacket_open(const char *device, #ifdef HAVE_LIBXDP if (sendpacket_type == SP_TYPE_LIBXDP) sp = sendpacket_open_xsk(device, errbuf); - } else + else #endif #if defined HAVE_PF_PACKET sp = sendpacket_open_pf(device, errbuf);