packages/net/uob-nomad/patches/005-linux_if_strip_fix.patch

21 lines
404 B
Diff
Raw Normal View History

--- 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;