Skip to content
Snippets Groups Projects
Commit 55aa1237 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

ebtables: fix musl build issues


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 45108
parent 9f8be0be
No related branches found
No related tags found
No related merge requests found
--- a/extensions/ebt_among.c
+++ b/extensions/ebt_among.c
@@ -13,7 +13,6 @@
#include <ctype.h>
#include <unistd.h>
#include "../include/ebtables_u.h"
-#include <netinet/ether.h>
#include "../include/ethernetdb.h"
#include <linux/if_ether.h>
#include <linux/netfilter_bridge/ebt_among.h>
--- a/extensions/ebt_arpreply.c
+++ b/extensions/ebt_arpreply.c
@@ -12,7 +12,6 @@
#include <string.h>
#include <getopt.h>
#include "../include/ebtables_u.h"
-#include <netinet/ether.h>
#include <linux/netfilter_bridge/ebt_arpreply.h>
static int mac_supplied;
--- a/extensions/ebt_nat.c
+++ b/extensions/ebt_nat.c
@@ -11,7 +11,6 @@
#include <string.h>
#include <getopt.h>
#include "../include/ebtables_u.h"
-#include <netinet/ether.h>
#include <linux/netfilter_bridge/ebt_nat.h>
static int to_source_supplied, to_dest_supplied;
--- a/useful_functions.c
+++ b/useful_functions.c
@@ -25,7 +25,6 @@
#include "include/ebtables_u.h"
#include "include/ethernetdb.h"
#include <stdio.h>
-#include <netinet/ether.h>
#include <string.h>
#include <stdlib.h>
#include <getopt.h>
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -23,6 +23,7 @@
#ifndef EBTABLES_U_H
#define EBTABLES_U_H
+#include <sys/types.h>
#include <netinet/in.h>
#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter/x_tables.h>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment