Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame^] | 1 | From 3cd28aa771934d9165ff0d7e19932cde65de3e52 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 15 Jul 2017 11:16:57 -0700 |
| 4 | Subject: [PATCH 4/4] Adjust include header sequence to avoid duplicate |
| 5 | definitions on musl |
| 6 | |
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 8 | --- |
| 9 | raw.c | 4 ++-- |
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/raw.c b/raw.c |
| 13 | index f51c829..494ea7f 100644 |
| 14 | --- a/raw.c |
| 15 | +++ b/raw.c |
| 16 | @@ -18,8 +18,6 @@ |
| 17 | */ |
| 18 | #include <errno.h> |
| 19 | #include <fcntl.h> |
| 20 | -#include <linux/filter.h> |
| 21 | -#include <linux/if_ether.h> |
| 22 | #include <net/ethernet.h> |
| 23 | #include <net/if.h> |
| 24 | #include <netinet/in.h> |
| 25 | @@ -32,6 +30,8 @@ |
| 26 | #include <sys/types.h> |
| 27 | #include <unistd.h> |
| 28 | |
| 29 | +#include <linux/filter.h> |
| 30 | +#include <linux/if_ether.h> |
| 31 | #include <linux/errqueue.h> |
| 32 | #include <linux/net_tstamp.h> |
| 33 | #include <linux/sockios.h> |
| 34 | -- |
| 35 | 2.13.3 |
| 36 | |