From b7cee37734007fced7a4d5ed586c3a9e5ad92878 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 26 Mar 2017 13:12:21 -0700 Subject: [PATCH 10/10] Adjust header include sequence This fixes the build with musl Signed-off-by: Khem Raj Signed-off-by: Zang Ruochen --- extensions/ebt_among.c | 2 +- extensions/ebt_arpreply.c | 2 +- extensions/ebt_nat.c | 2 +- useful_functions.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/ebt_among.c b/extensions/ebt_among.c index 30c098c..af73bd9 100644 --- a/extensions/ebt_among.c +++ b/extensions/ebt_among.c @@ -12,8 +12,8 @@ #include #include #include -#include "../include/ebtables_u.h" #include +#include "../include/ebtables_u.h" #include "../include/ethernetdb.h" #include #include diff --git a/extensions/ebt_arpreply.c b/extensions/ebt_arpreply.c index 399868b..7b6b5ae 100644 --- a/extensions/ebt_arpreply.c +++ b/extensions/ebt_arpreply.c @@ -11,8 +11,8 @@ #include #include #include -#include "../include/ebtables_u.h" #include +#include "../include/ebtables_u.h" #include static int mac_supplied; diff --git a/extensions/ebt_nat.c b/extensions/ebt_nat.c index fe7e987..1899df3 100644 --- a/extensions/ebt_nat.c +++ b/extensions/ebt_nat.c @@ -10,8 +10,8 @@ #include #include #include -#include "../include/ebtables_u.h" #include +#include "../include/ebtables_u.h" #include static int to_source_supplied, to_dest_supplied; diff --git a/useful_functions.c b/useful_functions.c index 133ae2f..c7adc66 100644 --- a/useful_functions.c +++ b/useful_functions.c @@ -22,8 +22,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include "include/ebtables_u.h" -#include "include/ethernetdb.h" #include #include #include @@ -36,6 +34,8 @@ #include #include #include +#include "include/ebtables_u.h" +#include "include/ethernetdb.h" const unsigned char mac_type_unicast[ETH_ALEN] = {0,0,0,0,0,0}; -- 2.25.1