summaryrefslogtreecommitdiffstats
path: root/net/uob-nomad/patches/005-linux_if_strip_fix.patch
blob: 82ffefbdc30fa42996e8e5ec414210ff6d511659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/Client/net-tools/lib/strip.c
+++ b/Client/net-tools/lib/strip.c
@@ -21,7 +21,6 @@
 #include <sys/socket.h>
 #include <net/if_arp.h>
 #include <linux/types.h>
-#include <linux/if_strip.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
@@ -35,6 +34,9 @@
 #include "util.h"
 #include "intl.h"
 
+typedef struct {
+  __u8 c[6];
+} MetricomAddress;
 
 extern struct hwtype strip_hwtype;