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