X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fhamachi.c;h=bc9a3bf8d5605d2301ad300b9f848cfefa267465;hb=a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6;hp=d9df1d9a5739c471c82ec43186c8312c90f6b63f;hpb=6c89cce75c6f93088a5a2a25bb9674a9194592cc;p=powerpc.git diff --git a/drivers/net/hamachi.c b/drivers/net/hamachi.c index d9df1d9a57..bc9a3bf8d5 100644 --- a/drivers/net/hamachi.c +++ b/drivers/net/hamachi.c @@ -204,6 +204,10 @@ KERN_INFO " Further modifications by Keith Underwood #define RUN_AT(x) (jiffies + (x)) +#ifndef ADDRLEN +#define ADDRLEN 32 +#endif + /* Condensed bus+endian portability operations. */ #if ADDRLEN == 64 #define cpu_to_leXX(addr) cpu_to_le64(addr)